Interconnection platform for real-time configuration and management of a cloud-based services exhange

ABSTRACT

In one example, a cloud-based services exchange comprises a plurality of interconnection assets configured to connect a customer of the cloud-based services exchange to one or more cloud service providers, the plurality of interconnection assets including a virtual circuit by which the customer accesses a cloud service from the one or more cloud service providers; and an orchestration engine configured to modify the plurality of interconnection assets.

This application is a continuation of U.S. application Ser. No.15/887,165 filed Feb. 2, 2018, which is a continuation of U.S.application Ser. No. 15/395,101 filed Dec. 30, 2016, which is acontinuation of Ser. No. 14/927,451 filed on Oct. 29, 2015, which claimsthe benefit of U.S. Provisional Appl. No. 62/072,976, filed Oct. 30,2014; and U.S. Provisional Appl. No. 62/233,933, filed Sep. 28, 2015;the entire contents of each of which are incorporated by referenceherein.

TECHNICAL FIELD

The invention relates to computer networks and, more specifically, to aplatform facilitating interconnectivity among cloud service customersand cloud service providers.

BACKGROUND

Cloud computing refers to the use of dynamically scalable computingresources accessible via a network, such as the Internet. The computingresources, often referred to as a “cloud,” provide one or more servicesto users. These services may be categorized according to service types,which may include for examples, applications/software, platforms,infrastructure, virtualization, and servers and data storage. The namesof service types are often prepended to the phrase “as-a-Service” suchthat the delivery of applications/software and infrastructure, asexamples, may be referred to as Software-as-a-Service (SaaS) andInfrastructure-as-a-Service (IaaS), respectively.

The term “cloud-based services” or, more simply, “cloud services” refersnot only to services provided by a cloud, but also to a form of serviceprovisioning in which cloud customers contract with cloud serviceproviders for the online delivery of services provided by the cloud.Cloud service providers manage a public, private, or hybrid cloud tofacilitate the online delivery of cloud services to one or more cloudcustomers.

SUMMARY

In general, this disclosure describes an interconnection platform fordynamically configuring and managing a cloud-based services exchange, or“cloud exchange.” to facilitate virtual connections for cloud servicesdelivery from multiple cloud service providers to one or more cloudcustomers. The cloud exchange may enable cloud customers to bypass thepublic Internet to directly connect to cloud services providers so as toimprove performance, reduce costs, increase the security and privacy ofthe connections, and leverage cloud computing for additionalapplications. In this way, enterprises, network carriers, and SaaScustomers, for instance, can integrate cloud services with theirinternal applications as if such services are part of or otherwisedirectly coupled to their own data center network.

In some examples, an interconnection platform for a cloud exchangeexposes a collection of software interfaces, also referred to herein anddescribed according to application programming interfaces (APIs), thatallow access to capabilities and assets of the interconnection platformin a programmable fashion. As such, the software interfaces provide anextensible framework that allows software developers associated withcustomers and partners of the exchange to build software applicationsthat access the interconnection platform that automatically manageinterconnection with multiple cloud service providers participating inthe interconnection platform. In other words, developers from networkservices providers, cloud service providers, managed service providersand other enterprises may use the software interfaces exposed by theinterconnection platform and defined by the APIs to build customapplications and frameworks for seamless interaction with theinterconnection platform to facilitate the delivery of cloud servicesfrom cloud service providers to cloud service customers.

These software interfaces defined by the APIs enable machine-to-machinecommunication for near real-time setup and modifications ofinterconnections, and may also eliminate or reduce the need for humaninteraction for the entire interconnection setup and management process.In this way, the software interfaces provide an automated and seamlessway to establish, un-install, and manage interconnection with multiplecloud providers participating in an interconnection platform.

In one example, the interconnection platform includes an internalorchestration engine that organizes, directs and integrates underlyingsoftware and network sub-systems for managing various aspects ofinterconnection for the cloud exchange. The orchestration engine may,for example, provide a rule-driven workflow engine that operates betweenthe APIs and the underlying interconnect platform of the exchange. Inthis way, the orchestration engine can be used by customer-proprietaryapplications and the APIs for direct participation within theinterconnection platform of the cloud exchange.

As described herein, the orchestration engine synthesizes theinformation and actions to formulate intelligent next steps andresponses to dynamic requests made by the customer applications. Assuch, the orchestration engine abstracts the complexity of theunderlying software and network sub-systems of the cloud exchange byproviding a uniform, simplified, and secured means to access theinterconnection platform.

In some examples, a cloud-based services exchange comprises a networkdata center that includes respective ports by which a plurality ofnetworks connect to the network data center, each of the networks havinga different network address space and associated with a different one ofa plurality of customers or cloud service providers; a plurality ofinterconnection assets within the network data center and configured toconnect, through a switching fabric of the network data center, each ofthe networks associated with the plurality of customers of thecloud-based services exchange to one or more of the networks associatedwith the cloud service providers, the plurality of interconnectionassets including a respective set of one or more virtual circuits foreach of the networks associated with the plurality of customers andproviding network connectivity within the network data center betweenthe networks associated with the plurality of customers and cloudservices executing from within the networks associated with theplurality of cloud service providers; and an interconnection platformexecuting on one or more management devices within the network datacenter and presenting a software interface reachable by the networksassociated with the plurality of customers and configured to, inresponse to receiving a request issued by an application executingwithin any of the networks associated with the customer, access theplurality of interconnection assets to satisfy the request.

In some examples, cloud-based services exchange comprises a plurality ofinterconnection assets configured to connect a customer of thecloud-based services exchange to one or more cloud service providers,the plurality of interconnection assets including a virtual circuit bywhich the customer accesses a cloud service from the one or more cloudservice providers; and an orchestration engine configured to modify theplurality of interconnection assets.

In some examples, a method comprises executing, by a cloud-basedservices exchange on one or more management devices within a networkdata center, an interconnection platform to present a software interfacereachable by networks associated with a plurality of customers; and inresponse to receiving a request issued by an application executingwithin any of the networks associated with the customer, access aplurality of interconnection assets of the network data center tosatisfy the request, wherein the network data center includes respectiveports by which a plurality of networks connect to the network datacenter, each of the networks having a different network address spaceand associated with a different one of a plurality of customers or cloudservice providers, and wherein a plurality of interconnection assetswithin the network data center connect, through a switching fabric ofthe network data center, each of the networks associated with theplurality of customers of the cloud-based services exchange to one ormore of the networks associated with the cloud service providers, theplurality of interconnection assets including a respective set of one ormore virtual circuits for each of the networks associated with theplurality of customers and providing network connectivity within thenetwork data center between the networks associated with the pluralityof customers and cloud services executing from within the networksassociated with the plurality of cloud service providers.

The details of one or more examples are set forth in the accompanyingdrawings and the description below. Other features, objects, andadvantages of the techniques will be apparent from the description anddrawings, and from the claims.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1A is a block diagram that illustrates a high-level view of a datacenter that provides an operating environment for a cloud-based servicesexchange.

FIG. 1B is a block diagram that illustrates cloud-based servicesexchange, in accordance with some example implementations describedhere.

FIG. 1C illustrates another example implementation of a cloud-basedservices exchange.

FIG. 1D is a block diagram illustrating an example in which a pluralityof cloud exchanges points of a cloud exchange managed by aninterconnection platform, accordingly to techniques of this disclosure,provide cross-connect availability between geographically distributedcarriers.

FIG. 2 is a block diagram that illustrates details of an examplearchitecture for a cloud exchange according to techniques describedherein.

FIGS. 3A-3B depict a flow diagram for interconnection softwareinterfaces according to techniques described herein.

FIG. 4 is a block diagram showing an alternative representation of aninterconnection platform 103 for a cloud exchange according totechniques described in this disclosure.

FIGS. 5-11 are flow diagrams each illustrating a call flow andoperations performed by example components of an interconnectionplatform for a cloud exchange, as described in this disclosure.

FIG. 12 is a block diagram illustrating further details of one exampleof a computing device that operates in accordance with one or moretechniques of the present disclosure.

FIG. 13 is a block diagram illustrating an example system showing alogical architecture of an orchestration engine, in further detail,according to techniques described herein.

FIG. 14 is a block diagram illustrating an example system showingreference architecture of an orchestration engine, in further detail,according to techniques described herein.

FIG. 15 is a flowchart illustrating an example workflow performed by anorchestration engine in accordance with example aspects of thisdisclosure.

FIG. 16 is an example logical diagram illustrating an exampleorchestration engine workflow relating to creating a virtual circuit inaccordance with example aspects of this disclosure.

FIG. 17 is an example logical diagram illustrating an exampleorchestration engine workflow relating to obtaining employee payrollinformation in accordance with example aspects of this disclosure.

FIGS. 18A-18B are block diagrams illustrating example networkinfrastructure and service provisioning by a programmable networkplatform for a cloud exchange that aggregates the cloud services ofmultiple cloud service providers for provisioning to customers of thecloud exchange provider and aggregates access for multiple customers toone or more cloud service providers, in accordance with techniquesdescribed in this disclosure.

FIG. 19 is a block diagram illustrating an example of a datacenter-based cloud exchange point in which routers of the cloud exchangepoint are configured by an interconnection platform with virtual privatenetwork routing and forwarding instances for routing and forwardingaggregated service traffic from multiple cloud service provider networksto a customer network, according to techniques described herein.

Like reference characters denote like elements throughout the figuresand text.

DETAILED DESCRIPTION

In general, this disclosure describes an interconnection platform forreal-time configuration and management of a cloud-based servicesexchange (“cloud exchange”). As described herein, the interconnectionplatform provides customers of the exchange, e.g., enterprises, networkcarriers, and SaaS customers, with secure, private, virtual connectionsto multiple cloud service providers (CSPs) globally. The multiple CSPsparticipate in the cloud exchange by virtue of their having at least oneaccessible port in the cloud exchange by which a customer can connect tothe one or more cloud services offered by the CSPs, respectively.

According to various examples described herein, a cloud exchange isdescribed that allows private networks of any customer to be directlycross-connected to any other customer at a common point, therebyallowing direct exchange of network traffic between the networks of thecustomers. Customers may include network carriers (or network serviceproviders), enterprises, and other users of cloud services offered byone or more cloud service providers.

FIG. 1A is a block diagram that illustrates a high-level view of a datacenter 101 that provides an operating environment for a cloud-basedservices exchange 100. Cloud-based services exchange 100 (“cloudexchange 100”) allows a corresponding one of customer networks 104D,104E and carrier networks 104A-104C (collectively, “private networks104”) of any carriers 106A-106C (collectively, “carriers 106”) or othercloud customers including customers 107A, 107B to be directlycross-connected, via a virtual layer 2 (L2) or layer 3 (L3) connectionto any other customer network and/or to any of cloud service providers110A-110N (collectively. “CSPs 110”), thereby allowing direct exchangeof network traffic among the customer networks and CSPs 110.

Carriers 106 may each represent a network service provider that isassociated with a transit network by which network subscribers of thecarrier 106 may access cloud services offered by CSPs 110 via the cloudexchange 100. In general, customers of CSPs 110 may include networkcarriers, large enterprises, managed service providers (MSPS), as wellas Software-as-a-Service (SaaS), Platform-aaS (PaaS), Infrastructure-aaS(IaaS), Virtualization-aaS (VaaS), and data Storage-aaS (dSaaS)customers for such cloud-based services as are offered by the CSPs 110via the cloud exchange 100.

In this way, cloud exchange 100 streamlines and simplifies the processof partnering CSPs 110 and customers (via carriers 106 or directly) in atransparent and neutral manner. One example application of cloudexchange 100 is a co-location and interconnecting data center in whichCSPs 110 and carriers 106 and/or customers 107 may already have networkpresence, such as by having one or more accessible ports available forinterconnection within the data center. This allows the participatingcarriers, customers, and CSPs to have a wide range of interconnectivityoptions in the same facility. Cloud exchange 100 of data center 101includes network infrastructure 122 that provides a L2/L3 switchingfabric by which CSPs 110 and customers/carriers interconnect. Thisenables a carrier/customer to have options to create many-to-manyinterconnections with only a one-time hook up to the switch fabric andunderlying interconnection platform 103 of cloud exchange 100. In otherwords, instead of having to establish separate connections acrosstransit networks to access different cloud service providers ordifferent cloud services of one or more cloud service providers, cloudexchange 100 allows customers to interconnect to multiple CSPs and cloudservices using network infrastructure 122 within data center 101.

By being connected to and utilizing cloud exchange 100, customers canpurchase services and reach out to many end users in many differentgeographical areas without incurring the same expenses typicallyassociated with installing and maintaining multiple virtual connectionswith multiple CSPs 110. For example, carrier 106A can expand itsservices using network 104D of carrier 106D. By connecting to cloudexchange 100, a carrier 106 may be able to generate additional revenueby offering to sell its network services to the other carriers. Forexample, carrier 106D can offer the opportunity to use carrier network104D to the other carriers.

In some example implementations described herein, cloud exchange 100includes an interconnection platform 103 that exposes a collection ofsoftware interfaces, also referred to herein as application programminginterfaces (APIs) 114 in that the APIs 114 define the methods, fields,and/or other software primitives by which applications may invoke theinterconnection platform 103. The software interfaces allow carriers 106and customers 107 programmable access to capabilities and assets of thecloud exchange 100.

On the buyer side, the software interfaces presented by the underlyinginterconnect platform provide an extensible framework that allowssoftware developers associated with the customers of cloud exchange 100to create software applications that allow and leverage access to theinterconnect platform by which the applications may request that thecloud exchange establish connectivity to cloud services offered by anyof the CSPs 110. For example, these buyer-side software interfaces (or“buyer APIs” of APIs 114) may allow customer applications for NSPs andenterprise customers. e.g., to obtain authorization to access the cloudexchange, obtain information regarding available cloud services, obtainactive ports and metro area details for the customer, create virtualcircuits of varying bandwidth to access cloud services (includingdynamic selection of bandwidth based on a purchased cloud service tocreate on-demand and need based virtual circuits to cloud serviceproviders), delete virtual circuits, obtain active virtual circuitinformation, obtain details surrounding CSPs partnered with the cloudexchange provider, obtain customized analytics data, and validatepartner access to interconnection assets.

On the cloud provider (seller) side, the software interfaces may allowsoftware developers associated with cloud providers to manage theircloud services and to enable customers to connect to their cloudservices. For example, these seller-side software interfaces (or “sellerAPIs” of APIs 114) may allow cloud provider applications to obtainauthorization to access the cloud exchange, obtain information regardingavailable cloud services, obtain active ports and metro area details forthe provider, obtain active port details in a given data center for theprovider, approve or reject virtual circuits of varying bandwidth toaccess cloud services created by customers, obtain virtual circuitspending addition and confirm addition of virtual circuits, obtainvirtual circuits pending deletion and confirm deletion of virtualcircuits, obtain customized analytics data, and validate partner accessto interconnection assets.

As further described herein, the APIs 114 facilitate machine-to-machinecommunication to enable dynamic provisioning of virtual circuits in thecloud exchange for interconnecting customer and provider networks. Inthis way, the interconnection platform 103 enables the automation ofaspects of cloud services provisioning. For example, the softwareinterfaces may provide an automated and seamless way for customers toestablish, de-install and manage interconnection with multiple,different cloud providers participating in the cloud exchange.

In some examples, cloud exchange 100 includes an API gateway 112 havingone or more processors that executes one or more applications thatexpose software interfaces defined according to APIs 114. Theapplications may invoke services that correspond to endpoints of theAPIs 114, and the services may themselves invoke the cloud exchangeplatform service of orchestration engine 118. API gateway 112 mayexecute on a management device such as one or virtual machines and/orreal servers of data center 101. Although shown as a single element inFIG. 1A, API gateway 112 may comprise a cluster of one or more physicaland/or virtual computing machines executing on one or more physicalprocessors.

In some examples, cloud exchange includes an orchestration engine 118that organizes, directs and integrates underlying software sub-systems120 for managing various aspects of interconnection within the networkinfrastructure 122 as well as cloud services management. Theorchestration engine 118 may, for example, provide a rule-drive workflowengine that operates between the APIs 114 and the underlyinginterconnect platform of cloud exchange 100 that includes sub-systems120 and network infrastructure 122. In this way, the orchestrationengine 118 can be used by customer-proprietary applications and the APIs114 for direct participation with the interconnection platform 103 ofthe cloud exchange 100. In other words, the orchestration engine 118offers a “cloud exchange platform service” having various applicationengines or workflows to handle the API gateway 112 service requests.

Sub-systems 120 and orchestration engine 118 may each be centralized ordistributed applications and may execute on a management device such asone or virtual machines and/or real servers of data center 101.

Network infrastructure 122 represents the cloud exchange switchingfabric and includes multiple ports that may be dynamicallyinterconnected with virtual circuits using by invoking APIs 114according to techniques described herein. Each of the ports isassociated with one of carriers 106, customers 107, and CSPs 110. Avirtual circuit may refer to, e.g., an Ethernet connection such as aLayer 2 VPN or virtual private LAN (e.g., E-LINE, E-LAN, E-TREE, orE-Access), an Internet exchange-based interconnection in whichrespective routers of interconnected customers directly peer andexchange layer 3 routes for service traffic exchanged via the exchange100, and a cloud exchange in which customer routers peer with exchange100 (or “provider”) routers rather than directly with other customers.Example details of a cloud exchange are provided below with respect toFIGS. 18A, 18B, and 19.

For interconnections at layer-3 or above, customers 107 and carriers 106may receive services directly via a layer 3 peering and physicalconnection to exchange 100 or indirectly via one of carriers 106.Carriers 106 provide “transit” by maintaining a physical presence withinone or more of exchanges and aggregating layer 3 access from one orcustomers 107. Carriers 106 may peer, at layer 3, directly with one ormore exchanges and in so doing offer indirect layer 3 connectivity andpeering to one or more customers 107 by which customers 107 may obtainservices from the exchange 100.

FIG. 1B is a block diagram that illustrates cloud-based servicesexchange 100, in accordance with some example implementations describedhere. In this example architecture, cloud exchange 100 includes multiplecloud exchange points 128A-128C (also described as “cloud exchangepoints” and collectively referred to as “cloud exchange points 128”),which may represent geographically distributed data centers within ametropolitan area and in which cloud exchange 100 may directly orindirectly (via NSPs 106) interconnect cloud services providers 110 withcloud customers 108 accessing cloud services.

Applications 130 developed and deployed by CSPs 110, NSPs 106, andcustomers 108 invoke APIs 114 of interconnection platform 103 to, forexample, automatically control provisioning and manage aspects of cloudexchange 100 for aspects of interconnection with one or more cloudproviders/customers, including: (1) provisioning of interconnects, (2)identification and authorization of carriers, (3) management andfulfillment of orders, (4) delivery of network services, (5) managinginventory and capacity, (6) managing and reporting/alerting incidents,and (7) content management.

In this example, APIs 114 includes endpoints 116A-116K (collectively.“endpoints 116”) that each represents a resource exposed byinterconnection platform 103. Examples of endpoints are described belowin further detail with respect to FIG. 3A. Applications 130 may interactwith API gateway 112 according to client/server model. Applications 130may send a request directed to any of endpoints 116 of APIs 114. APIgateway 112, in response to requests, invokes the cloud exchangeplatform service of orchestration engine 118, which may orchestrate aworkflow of service tasks for the underlying sub-systems 120 to satisfythe request. In response to the request, e.g., upon completion of theworkflow, API gateway 112 may send a response to the requestingapplication 130 from the endpoint 116 invoked.

In some examples, APIs 114 may conform to a Representational StateTransfer model, i.e., be a RESTful interface, with endpoints 116representing different methods of the RESTful interface. Applications130 may invoke any of endpoints 116 using a communication protocol fortransferring application data (e.g. HTTP) that specifies the method, aresource Uniform Resource Identifier (URI), and optionally parametersfor the method. API gateway 112 translates the resource URI and theoptional parameters to cloud exchange platform-related constructs andinvokes the cloud exchange platform of orchestration engine 118according to one of a create, read, update, and delete (CRUD) orconfirmation action corresponding to the endpoint 116 specified by theapplication data. In HTTP parlance, the create action corresponds to thePOST method, read to the GET method, and confirmation to the PATCHmethod, for example.

Sub-systems 120 may apply the service tasks orchestrated byorchestration engine 118, which may include modifying any of cloudexchange points 128 to perform the on-demand setup of virtual circuitsbetween CSPs 110 and customers 108, for example, or otherwise managecloud exchange points 128 interconnection assets such as ports, metros,data centers, virtual circuits and virtual circuit bandwidth, profiles,and configuration.

Cloud exchange 100 of FIG. 1B illustrates a metro-based cloud exchangethat provides multiple cloud exchange points according to techniquesdescribed herein. Each of cloud-based services exchange points 128A-128Cof cloud-based services exchange 100 may represent a different datacenter geographically located within the same metropolitan area(“metro-based,” e.g., in New York City, N.Y.; Silicon Valley, Calif.;Seattle-Tacoma, Wash. Minneapolis-St. Paul, Minn.: London, UK: etc.) toprovide resilient and independent cloud-based services exchange by whichcloud-based services customers (“cloud customers”) and cloud-basedservice providers (“cloud providers”) connect to receive and provide,respectively, cloud services. In various examples, cloud exchange 100may include more or fewer cloud exchange points 128. In some instances,a cloud exchange 100 includes just one cloud exchange point 128. As usedherein, reference to a “cloud exchange” or “cloud-based servicesexchange” may refer to a cloud exchange point. A cloud exchange providermay deploy instances of cloud exchanges 100 in multiple differentmetropolitan areas, each instance of cloud exchange 100 having one ormore cloud exchange points 128.

Each of cloud exchange points 128 includes network infrastructure and anoperating environment by which cloud customers 108A-108D (collectively,“cloud customers 108”) receive cloud services from multiple cloudservice providers 110A-110N (collectively. “cloud service providers110”). Cloud customers 108 may receive cloud services directly via alayer 3 peering and physical connection to one of cloud exchange points128 or indirectly via one of network service providers 106A-106B(collectively, “NSPs 106,” or alternatively, “carriers 106”). NSPs 106provide “cloud transit” by maintaining a physical presence within one ormore of cloud exchange points 128 and aggregating layer 3 access fromone or customers 108. NSPs 106 may peer, at layer 3, directly with oneor more cloud exchange points 128 and in so doing offer indirect layer 3connectivity and peering to one or more customers 108 by which customers108 may obtain cloud services from the cloud exchange 100. Each of cloudexchange points 128, in the example of FIG. 1B, may be assigned adifferent autonomous system number (ASN). For example, cloud exchangepoint 128A may be assigned ASN 1, cloud exchange point 128B may beassigned ASN 2, and so forth. Each cloud exchange point 128 is thus anext hop in a path vector routing protocol (e.g., BGP) path from cloudservice providers 110 to customers 108. As a result, each cloud exchangepoint 128 may, despite not being a transit network having one or morewide area network links and concomitant Internet access and transitpolicies, peer with multiple different autonomous systems via externalBGP (eBGP) or other exterior gateway routing protocol in order toexchange, aggregate, and route service traffic from one or more cloudservice providers 110 to customers. In other words, cloud exchangepoints 128 may internalize the eBGP peering relationships that cloudservice providers 110 and customers 108 would maintain on a pair-wisebasis. Instead, a customer 108 may configure a single eBGP peeringrelationship with a cloud exchange point 128 and receive, via the cloudexchange, multiple cloud services from one or more cloud serviceproviders 110. While described herein primarily with respect to eBGP orother layer 3 routing protocol peering between cloud exchange points andcustomer, NSP, or cloud service provider networks, the cloud exchangepoints may learn routes from these networks in other way, such as bystatic configuration, or via Routing Information Protocol (RIP), OpenShortest Path First (OSPF), Intermediate System-to-Intermediate System(IS-IS), or other route distribution protocol.

As examples of the above, customer 108D is illustrated as havingcontracted with a cloud exchange provider for cloud exchange 100 todirectly access layer 3 cloud services via cloud exchange points 128C,128D. In this way, customer 108D receives redundant layer 3 connectivityto cloud service provider 110A, for instance. Customer 108C, incontrast, is illustrated as having contracted with the cloud exchangeprovider for cloud exchange 100 to directly access layer 3 cloudservices via cloud exchange point 128C and also to have contracted withNSP 106B to access layer 3 cloud services via a transit network of theNSP 106B. Customer 108B is illustrated as having contracted withmultiple NSPs 106A, 106B to have redundant cloud access to cloudexchange points 128A, 128B via respective transit networks of the NSPs106A, 106B. The contracts described above are instantiated in networkinfrastructure of the cloud exchange points 128 by L3 peeringconfigurations within switching devices of NSPs 106 and cloud exchangepoints 128 and L3 connections, e.g., layer 3 virtual circuits,established within cloud exchange points 128 to interconnect cloudservice provider 110 networks to NSPs 106 networks and customer 108networks, all having at least one port offering connectivity within oneor more of the cloud exchange points 128.

For layer 3 cloud services, a virtual circuit may represent a layer 3path through an IP/MPLS fabric of one or more of cloud exchange points128, between an attachment circuit connecting a customer network to thecloud exchange point and an attachment circuit connecting a cloudservice provider network to the cloud exchange point. Each virtualcircuit may include at least one tunnel (e.g., an LSP and/or GenericRoute Encapsulation (GRE) tunnel) having endpoints at the provideredge/autonomous system boundary of the cloud exchange point.

Cloud exchange points 128 may be configured to implement multiple layer3 virtual circuits to interconnect customer/NSP networks and cloudservice provider networks with end-to-end IP paths. Each of cloudservice providers and customers/NSPs may be an endpoint for multiplevirtual circuits, with multiple virtual circuits traversing one or morecloud exchange points 128 to connect the endpoints. An exampleimplementation of a cloud exchange point is described in further detailbelow with respect to FIGS. 18A-18B and 19.

FIG. 1C illustrates another example implementation of a cloud-basedservices exchange. In this example, cloud exchange 100 provideshigh-speed attachment circuits 208, 213, 218 and 223 and routing andswitching infrastructure for provisioning direct, virtual circuits 150,155, 160, 165, 170, collectively referred to as aninterconnect-platform, for cross-connecting carrier networks 205, 210,215 and 220.

As shown in the example of FIG. 1B, cloud exchange 100 exposes acollection of software interfaces 114, also referred to herein asapplication programming interfaces (APIs), that allow customer systems196 programmatic access to capabilities and assets of theinterconnection platform 103 of cloud exchange 100. That is, softwareinterfaces 114 provide an extensible framework that allows softwaredevelopers associated with the customers of cloud exchange 100 to createsoftware applications executable on customer systems 196 that allow andleverage access subsystems 120 of exchange 100. Underlying subsystems120 of exchange 100 may, for example, control provisioning and managingof all aspects of exchange 100, including: (1) provisioninginterconnects between customer system 196, (2) identification andauthorization of carriers, (3) management and fulfillment of orders, (4)delivery of network services, (5) managing inventory and capacity, (6)managing and reporting/alerting incidence and (7) content management.

As such, carriers 106 and other customers of cloud exchange 100, such asnetwork services providers, cloud services providers, managed serviceproviders and other enterprises may make use the software interfacesexposed by the interconnect platform to manage their directcross-connects with other carriers. That is, software interfaces 114enable machine-to-machine communication, shown as dotted arrows in FIG.1C, between network infrastructure andprovisioning/billing/accounting/AAA systems positioned within differentcarrier networks 205, 210, 215 and 220 for carriers 106 establishing andmanaging direct cross-connects. As such, software interfaces 114 enablenear real-time setup and modifications of interconnections, e.g.,virtual circuits of FIG. 1C, and may also eliminate or reduce the needfor human interaction for the entire interconnection set-up andmanagement process. In this way, the software interfaces provide anautomated and seamless way for carriers 106 to establish, de-install andmanage interconnection with multiple, different customers participatingin an interconnection platform 103.

Moreover, as further shown in the example of FIG. 1B, cloud exchange 100includes an internal orchestration engine 118 that organizes, directsand integrates underlying software and network sub-systems 120 formanaging various aspects of the interconnection services provided bycloud exchange 100. Orchestration engine 118 may, for example, provide arule-drive workflow engine that operates between APIs 114 and theunderlying interconnect platform provided by subsystems 120 of cloudexchange 100. In this way, orchestration engine 118 can be invoked bycustomer-proprietary applications executing on customer systems 196 byway of APIs 190 for direct participation within the interconnectionplatform of the cloud exchange.

As described herein, orchestration engine 118 synthesizes theinformation and actions from underlying sub-systems 120 of theinterconnect platform to formulate intelligent next steps and responsesto the customer applications. As such, orchestration engine 118abstracts the complexity of the underlying software and networksub-systems 120 of the cloud exchange 100 by providing a uniform,simplified and secured means to access the interconnection platform.

FIG. 1D is a block diagram illustrating an example in which a pluralityof cloud exchanges points of a cloud exchange 100 managed by aninterconnection platform, accordingly to techniques of this disclosure,provide cross-connect availability between geographically distributedcarriers. Although not shown, each of cloud exchange points mayimplement the example techniques described with respect to the cloudexchanges 100 of FIGS. 1A-1C including cloud exchange points 128 of FIG.1B.

FIG. 2 is a block diagram that illustrates details of an examplearchitecture for a cloud exchange according to techniques describedherein. As shown in this example, example cloud exchange 100 illustratesAPIs 114, internal orchestration engine 118, and sub-systems 120 infurther detail.

Developer community 300 illustrates entities that may developapplications that use APIs 114 to access the interconnection platform ofthe cloud exchange 100. These entities include network service providers300A, managed service providers 300B, enterprises 300C, cloud serviceproviders 300D, third-party developers 300E, and others 300F.Applications developed by these entities utilize cloud exchange 100 asan interconnection platform for interconnecting customers to cloudservices offered by cloud services providers according to the policiesand profiles of the various entities.

In this example, APIs 114 includes bundles of the various API methods orendpoints according to function. Discovery APIs 304A may be usable toperform availability of location discovery, asset discovery, and cloudservice discovery. Discoverable information may include availablemetropolitan areas, data centers, ports, services, virtual circuits, andother interconnection assets by which a customer may obtain or managecloud services. Transact APIs 304B may be usable to dynamicallyprovision end-to-end virtual circuits of varying bandwidths throughmachine-to-machine interaction, validate virtual circuits requested by acustomer, and confirm deletion of virtual circuits, for example. UseAPIs 304C may be usable to allow providers and customers to dynamicallyobtain recommendation information as performed by a recommendationengine of cloud exchange 100, obtain customized analytics regardingcompetitor presence, cloud service presence/availability, and customerpresence/availability, obtain usage statistics, and to manage content,for example. Support APIs 304D may be usable by customers or providersto manage accounts, perform automated billing/invoicing, validatecredit, and configure profile and configuration information for theentity, for example.

In this example, orchestration engine 118 (illustrated as“interconnection orchestration engine 118”) organizes, directs, andintegrates underlying software and network sub-systems 120 for managingvarious aspects of interconnection. For example, orchestration engine118 may handle the entire quote-to-cash cycle for provisioning ofinterconnection assets by communicating with myriad interconnectionenablement sub-systems 120, such as Customer Account and ProfileManagement Systems, Customer Asset Management Systems, InventoryManagement Systems, Capacity Management Systems, Network Systems, CreditManagement Systems, Content Management Systems, and Trouble TicketManagement System (not all shown in FIG. 2). To that end, orchestrationengine 118 includes a workflow and rules engine 306 that responsivelyoperates according to configured exchange policies 308A, profiles 308B,and configurations 308C to synthesize information and actions fromsub-systems 120 to formulate intelligent next steps and responses torequests received via APIs 114. Microservices component 308Dcomponentizes many, and in some cases all, of the interconnectionservices to improve horizontal scalability, performance efficiency, andlow-to-zero down-time feature upgrades and enhancements. In this way,orchestration engine 118 may abstract the complexity of underlyingsoftware and sub-systems 120 by providing a uniform, simplified andsecured means to access the interconnection platform for accessing andmanaging interconnection assets.

Sub-systems 120 orchestrated by orchestration engine 118 in the exampleof FIG. 2 include identification (ID) and access management system 310A.In some examples, ID and access management system 310A includes aPermission Data Store (PDS) to house the customer, asset and permissionhierarchy. ID and access management system 310A may accomplishfederation using a third party system which generates Security AssertionMarkup Language (SAML) assertions and is also capable of providingSingle Sign-On (SSO) capability.

Orchestration engine 118 may orchestrate multiple order managementsystems 310B (e.g., for different regions such as Asia Pacific, Europe,Middle East and Africa and North America). Orchestration engine 118passes relevant virtual circuit order creation information to theseorder management systems 310B so that the partners can be billed.Orchestration engine 118 may abstract the complexity of the underlyingnetwork systems by seamlessly integrating with the network servicessystem 310C to interact with the underlying network systems.Orchestration engine 118 may leverage an asset inventory and capacitymanagement system 310D in conjunction with the Permission Data Store toobtain information about customer ports inventory. Orchestration engine118 may leverage this information to place virtual circuit requestsagainst the appropriate ports. Asset inventory and capacity managementsystem 310D may be used to evaluate the available bandwidth on each portbefore provisioning of the virtual circuits.

Orchestration engine 118 accepts incident requests from partners andcustomers and communicates with the underlying incident managementsystem 310E to raise service tickets. Orchestration engine 118communicates with the content management system 310F to, e.g., renderinternationalized and localized content for a customer based on thelanguage preference of the customer. Content management system 310F aidsin transparent translation of all labels, error messages, successmessages and responses displayed on the web portal, mobile devices or inmachine-to-machine communication via APIs 114.

FIGS. 3A-3B depict a flow diagram for interconnection softwareinterfaces according to techniques described herein. In this example,API gateway 403 exposes an API 114 having multiple endpoints 406A-406L(collectively, “endpoints 406”) by which API consumers 402 may managecloud exchange interconnections. API gateway 403, in turn, invokes thecloud service platform of orchestration engine 407, which orchestrates aworkflow of service tasks represented in FIGS. 3A-3B by cloud exchangeAPI services 409. API gateway 403 may represent an example instance ofAPI gateway 112 of FIGS. 1A-ID, orchestration engine 407 may representan example instance of orchestration gateway 118 of FIGS. 1A-1D, andsub-systems 120 of FIGS. 1-2 may offer cloud exchange API services 409.

API consumers 402 may include buyer applications 402A and sellerapplications 402B, as well as API developers 402C that may develop suchapplications. API gateway 403 includes a number of customer adaptors 404that facilitate the operations of API gateway 403. Custom adaptors 404include security 404A, API key verification 404B, transformation 404C,caching 404D, threat protection 404E, spike arrest 404F, customanalytics 404G, and HTTP callouts 404H.

Endpoints 406 represent available logical and/or physical resourcesaccessible to API consumers 402. That is, API consumers 406 may accessendpoints 406 to access the interconnection platform of a cloud exchangeto get information regarding, create, modify, delete, and/or confirmrequests for corresponding resources of the cloud exchange. Endpoints406 may represent example instances of endpoints 116 of FIGS. 1B-1C.

In this example, endpoints 406 include login 406A, ports 406B, metros406C, assets 406D, virtual circuits 406E, cloud services 406F, serviceprofiles 406G, analytics 406H, traffic statistics 406I, bandwidths 406J,service tickets 406K, and recommendations 406L. In general, APIconsumers 406 may invoke any of endpoints 406 using a correspondingmethod and, in some cases, parameters that determine how theinterconnection platform executes the method.

Endpoints 406 may represent different methods of a RESTful interface.API consumers 402 may invoke any of endpoints 406 using a communicationprotocol for transferring application data (e.g. HTTP) that specifiesthe method, a resource URI, and optionally parameters for the method.API gateway 403 translates the resource URI and the optional parametersfor the endpoint 406 to cloud exchange platform-related constructs andinvokes the cloud exchange platform of orchestration engine 407according to one of a create, read, update, delete, or confirmationaction corresponding to the endpoint 406 specified by the applicationdata.

APIs—EXAMPLES

The following sections contain example details for selected endpoints406 of APIs 114 for a cloud exchange 100. The API 114 providesfunctionality for allowing developers to access the interconnectplatform for ordering and viewing virtual circuits. This APIfunctionality includes getting information about and performingoperations on Login 406A, Ports 406B, Virtual Circuits 406E, Metros406C, and Cloud Services 406F.

In one example, endpoints 406 of APIs 114 may be categorized into threemajor categories:

-   -   Foundational APIs—these APIs are common to both the buyer and        the seller.    -   Buyer APIs—These are the APIs that are used by the Enterprises,        Network Service Providers (NSP) and Managed Service Providers        (MSP) to establish connectivity to cloud services offered by the        different Cloud Service Providers (CSPs).    -   Seller APIs—These APIs are used by the CSPs to manage their        cloud services at cloud exchange 100 and to enable buyers to        connect to their services.

The APIs are broadly categorized into operations that can be performedon different resources. This section also details the common requestheaders that are required to be included as part of every request andalso the response headers that are returned back with each API response.In addition, this section describes the HTTP status and custom errorcodes used as part of the API response in the event of any errorcondition.

The tables below show an overview of the API resources, their respectiveURIs, and supported operations on each resource. The APIs are divides inthree major sections: Buyer. Seller, and Foundational APIs. Referenceherein to XML refers to eXtensible Markup Language, while JSON refers toJavaScript Object Notation.

Foundational API Overview

Re- HTTP source Operations URI Access POST POST /oauth2/v1/token TokenMetros GET GET /ecx/v1/metros Cloud GET GET /ecx/v1/cloudservicesServices GET /ecx/v1/cloudservices/{cloud_service_name} Refresh POSTPOST /oauth2/v1/refreshaccesstoken token

Buyer API Overview

Re- HTTP source Operations URI Ports GET GET /ecx/v1/ports GET/ecx/v1/ports/{port_name} Virtual GET, POST, GET /ecx/v1/virtualcircuitsCircuits DELETE, POST /ecx/v1/virtualcircuits PATCH GET/ecx/v1/virtualcircuits/{ virtual_circuit_id } DELETE/ecx/v1/virtualcircuits/ { virtual_circuit_id }PATCH/ecx/v1/virtualcircuits/ { virtual_circuit_id } User GETGET//ecx/v1/assets Assets Seller GET GET ecx/v1/sellerservices, ServicesGET ecx/v1/sellerservices/{seller_service_name} Seller GET GET Service/ecx/v1/sellerserviceprofiles/ Profiles {profile_name}/metadata

Seller API Overview

Re- HTTP source Operations URI Ports GET GET /ecx/v1/ports GET/ecx/v1/ports/{port_name} Virtual GET, GET /ecx/v1/virtualcircuitsCircuits PATCH PATCH /ecx/v1/virtualcircuits/{ virtual_circuit_id } GET/ecx/v1/virtualcircuits/{ virtual_circuit_id } User GET GET/ecx/v1/virtualcircuits Assets PATCH /ecx/v1/virtualcircuits/{virtual_circuit_id } GET /ecx/v1/virtualcircuits/{ virtual_circuit_id }Seller POST POST /ecx/v1/sellerserviceprofiles Service PUT, POST ProfileDELETE /ecx/v1/sellerserviceprofiles/profile_name}/portsPUT/ecx/v1/sellerserviceprofiles/{profile_name}DELETE/ecx/v1/sellerserviceprofiles/{profile_name}HTTP Status Codes

The table below lists example HTTP status codes that can be utilized byAPIs 114. There are specific error codes and messages which are returnedback in error scenarios which are defined along with the appropriate APIspecification.

HTTP Code Description 200 OK 201 Created 204 No Content 400 Bad Request403 Forbidden 401 Unauthorized 404 Not Found 405 Method not Allowed 406Not Acceptable 409 Conflict 415 Unsupported Media Type 500 InternalServer Error 503 Service Unavailable 504 Gateway Timeout

Common Request Headers

The following headers are required in requests to all APIs.

Header Attribute Allowed Values Required Description Content-application/json Yes The media type of Type application/xml the requestbody Accept application/json Yes The media types acceptableapplication/xml for the response

Common Response Headers

The following header is included as part of all API responses

Header Attribute Allowed Values Required Description Content-Typeapplication/json Yes The content type passed in the application/xmlresponse body

Error Response Syntax

The error responses from all APIs follow the common syntax shown below.

  { “errors”: [ {   “status”: “string”,   “code”: “string”,  “property”: “string”,   “message”: “string”,   “more_info”: “string” } ] }

Error Response Message Fields

errors Description A list of errors Type List Required Yes Default NoneExample None status Description HTTP Status Code Type String RequiredYes Default None Example  409 code Description Internal ECX Error CodeType string Required Yes Default None Example 40902 property DescriptionAttribute Name that has errors Type string Required No Default NoneExample vlan_id message Description Description of the error Type stringDefault None Example Duplicate VLAN id: A VLAN with the same valuealready exists for this port Required No more_info Description Moreinformation about the error on the developer portal. Type string DefaultNone Example https://api.developer.cloudexchange.com/docs/api/errors/40902 Required NoSample Error Response:

  Content-Type: application/json { “errors”: [ { “code”: 40007,“message”: “Invalid Field Value”, “more_info”: “The field valueport_name already exists for the specified profile name”, “property”:“port_name”, “status”: 400 } ] }In some examples, developers may be expected to generate API consumerKey and Consumer Secret using a developer platform before invoking theAPIs.

Authentication

Developer acquires an access token through a valid login before invokingany APIs 114. Refer to the section describing login 406A for details.

Foundational APIs

Resource: Access Token or Login 406A.

Description: OAuth2.0 token for accessing APIs 114.

HTTP Method Request URI POST /oauth2/v1/token

POST Access Token

Description: This API handles authentication and authorization of theAPI developer. Upon successful authentication an access_token isreturned as part of the response. An error message is returned onunsuccessful attempts.

Request

Request URI: POST http://<HostName>/ecx/v1/oauth/token

Filter Parameters:

-   -   None

Request Headers:

-   -   None

Request Fields:

grant_type Description OAuth grant operation. Acceptable value: passwordType String Required Yes Default None Example client_credentialsuser_name Description User name for login Type string Required YesDefault None Example tempuser1 user_password Description Password forlogin Type string Required Yes Default None Example xxxxxxx client_idDescription API Consumer Key Type string Required Yes Default NoneExample QWERTY1234567afgaaaa password_encoding Description Passwordencoding used. If this field is not present the password is consideredto be in plain text format. Password Encryption: Following encryptionmodes are supported: None Password sent as plaintext. md5-b64 Thepassword is encoded using MD5/Base64 encoding. MD5 digest has to begenerated in byte format (not MD5 hex digest) and then encoded intobase64 (Recommended) b64 The password is encoded using Base64 Typestring Default None Required No Example md5-b64

Sample Requests

POST http://<HostName>/ecx/v2/oauth/token

Password as plain text:

  {  “grant_type”:“client_credentials”,  “user_name”: “tempuser1”, “user_password”: “xxxxxxx”,  “client_id”: “QWERTY1234567abcdefg”, “client_secret”: “tstCLNT123scrt” }

Password encoded with md5 and then b64:

  {  “grant_type”:“password”,  “user_name”: “tempuser1”, “user_password”: “xxxxxxxxxxxx”,  “client_id”: “QWERTY1234567abcdefg”, “client_secret”: “tstCLNT123scrt”,  “password_encoding”: “md5-b64” }

Response:

Response Fields:

access_token Description The access token that must be passed in theHTTP header to access all API's Type string Required Yes Default NoneExample HihiOtaY2JAT0QaTFaYYyzHOqqmb token_timeout Description Timeoutfor the access token in seconds Type string Required Yes Default NoneExample 3599 user_name Description User Name Type string Required YesDefault None Example username token_type Description Type of accesstoken Type string Required Yes Default Bearer Example Bearerrefresh_token Description Refresh token that can be used for obtaining anew access token Type string Required No Default None ExampleQvJdZg7nMSTNYBfeDLgECpe5b9FvgWgdpZRwv4u0nZ refresh_ token_timeoutDescription Timeout for the refresh token in seconds Type stringRequired No Default None Example 86376

Sample Response:

    HTTP/1.1 200 OK   API-Version: v1   Content-Type: application/json  Accept: application/json {  “access_token”:“HihiOtaY2JAT0QaTFaYYyzHOqqmb”,  “token_timeout”: “3599”,  “user_name”:“tempuser1”,  “token_type”: “Bearer”,  “refresh_token”:“QvJdZg7nMSTNYBfeDLgECpe5b9Fvg  WgdpZRwv4u0nZ”, “refresh_token_timeout”: “86376” }

Error Code in Response:

HTTP Code Error Code Error Description 400 40010 Invalid value forgrant_type. The acceptable value is “password” 401 40101 Authenticationfailed. Invalid usernarne or password 401 40103 Invalid API Key 406 NotAcceptable 415 Unsupported Media Type 500 Internal Server Error

POST Refresh Token: Description: This API allows developer to refreshexisting OAuth Token issued which will expire otherwise within 60minutes. A valid refresh token is needed to retrieve a new successfulauthentication access_token that will be returned as part of theresponse.

Request

Request URI: POST http://<HostName>/oauth2/v1/refreshaccesstoken

Filter Parameters:

None

Request Headers:

None

Request Fields:

grant_type Description OAuth grant operation. Acceptablevalues:refresh_token. Type String Required Yes Default None Example Passwordclient_id Description API Consumer Key Type String Required Yes DefaultNone Example QWERTY1234567afgaaaa refresh_token Description Refreshtoken that can be used for obtaining a new access token Type stringRequired YES Default None Example 5f752714hsdf07a3e41c2a3311f514e1

Sample Requests

  POST http://<HostName>/oauth2/v1/refreshaccesstoken Refresh Token { “grant_type”:“refresh_token”,  “client_id”: “QWERTY1234567abcdefg”, “client_secret”: “tstCLNT123scrt”, “refresh_token”:“5f752714hsdf07a3e41c2a3311f514e1” }

Response:

Response Fields:

access_token Description The access token that must be passed in theHTTP header to access all API's Type string Required Yes Default NoneExample HihiOtaY2JAT0QaTFaYYyzHOqqmb token_timeout Description Timeoutfor the access token in seconds Type string Required Yes Default NoneExample 3599 (1 hr) user_name Description User Name Type string RequiredYes Default None Example Username “adrew” token_type Description Type ofaccess token Type string Required Yes Default Bearer Example Bearerrefresh_token Refresh token that can be used for Description obtaining anew access token Type string Required No Default None ExampleQvJdZg7nMSTNYBfeDLgECpe5b9FvgWgdpZRwv4u0nZ refresh_token_timeoutDescription Timeout for the refresh token in seconds Type stringRequired No Default None Example 86376

Resource: Metros

Description: Metros in which Cloud Exchange services are offered.

HTTP Method Request URI GET /ecx/v1/metros

GET Metros:

Description: This implementation of the GET operation returns a list ofall metros where either the user has ports or cloud exchange is enabled.

Request

Request URI: GET http://<HostName>/ecx/v1/metros

Filter Parameters:

cloud_exchange_enabled Description Filter the results to get metroswhere Cloud Exchange is enabled. If this parameter is not included theresult contains all the metros where user has port or Cloud Exchange isenabled Acceptable value: true Type Boolean Required No Default NoneExample True

Request Headers:

Header Attribute Description Authorization Required. Specify the OauthBearer token

Sample Request

GET http://<HostName>/ecx/v1/metros?cloud_exchange_enable=true

Response:

Response Fields:

metros Description List of metros Type List Required Yes Default NoneExample None name Description Metro Name Type string Required YesDefault None Example Singapore code Description Metro Code Type stringRequired Yes Default None Example SG

Sample Response:

  Content-Type: application/json {  “metros”: [   {    “code”: “SV”,   “name”: “Silicon Valley”,   },   {    “code”: “SG”,    “name”:“Singapore”   } ] }

Error Code in Response:

HTTP Status Error Code Code Error Description 400 40001 InvalidParameter Value 401 40102 Token Expired. Login again 401 40104 InvalidAccess Token 401 40105 User doesn't have sufficient privilege to performthe operation 406 Not Acceptable 415 Unsupported Media Type 500 InternalServer Error

Resource: Cloud Services

Description: Cloud Services at cloud exchange 100

HTTP Method Request URI GET /ecx/v1/cloudservices/ecx/v1/cloudservices/{cloud_service_name}

GET Cloud Services

Description: This implementation of the GET operation returns a list ofall Cloud Services at cloud service exchange 100.

Request

Request URI: GET http://<HostName>/ecx/v1/cloudservices,

GET http://<HostName>/ecx/v1/cloudservices/{cloud_service_name}

Filter Parameters:

None

Request Headers:

Header Attribute Description Authorization Required. Specify the OauthBearer token

Sample Request

GET http://<HostName>/ecx/v1/cloudservices

Response:

Response Fields:

cloud_services Description A list of a Cloud Services Type List RequiredYes Default None Example None name Description Cloud Service Name Typestring Required Yes Default None Example None metros Description A listof Metros served by the cloud service Type List Required Yes DefaultNone Example None name Description Metro Name Type string Required YesDefault None Example Singapore code Description Metro Code Type stringRequired Yes Default None Example SG ibxs Description A list of IBXnames in the metro. In Internet Business Exchange or “IBX” is anetwork-neutral data center and may represent an example of a cloudexchange or cloud exchange point, as described herein. Type ListRequired Yes Default None Example None

Sample Response:

  HTTP/1.1 200 OK Content-Type: application/json  {  “cloud_services”: [  {    “name”: “CSP1”,    “metros”: [     {      “code”: “SG”     “name”: “Singapore”,      “ibxs”: [       “SV1”,       “SV2”      ]} ] } ] }

Error Code in Response:

HTTP Status Error Code Code Error Description 401 40102 Token Expired.Login again 401 40104 Invalid Access Token 401 40105 User doesn't havesufficient privilege to perform the operation 406 Not Acceptable 415Unsupported Media Type 500 Internal Server Error

Buyer APIs

In this section, we describe the APIs that are relevant to a buyer.

Resource: Ports

Description: Ports on the Cloud Exchange Switch Fabric

HTTP Method Request URI GET /ecx/v1/ports /ecx/v1/ports/{port_name}

GET Ports:

Description: This implementation of the GET operation returns a list ofall ports owned by the authenticated sender of the request. The portscan be filtered by metro and IBX Name. If no ports matching the criteriaare found then a 204 HTTP code response is returned without a payload.

Request

Request URI:

GET http://<HostName>/ecx/v1/ports?metro_code=SV&ibx_name=SV1

Filter Parameters:

metro_code Description The code of a Metro. If no Metro Code is providedports in all metros are returned as part of the response Type StringDefault None Example SV Required No ibx_name Description Equinix IBXlocation name. If no IBX name is provided then ports in all IBXs arereturned Type String Default None Example SV1 Required No bandwidthDescription The bandwidth of the port. If no bandwidth is provided thenports with any bandwidth capacity are returned. Type String Default NoneExample 1 G Required No encapsulation Description The encapsulation ofthe port. Type String Default None Example Dot1Q or Qinq (caseinsensitive) Required No is_buyout Description The type of port,standard or buyout. Type String Default None Example Y or N (caseinsensitive) Required No Header Attribute Description AuthorizationRequired. Specify the Oauth Bearer token

Request Headers:

Sample Request

GET http://<HostName>/ecx/v1/ports?metro_code=SV&ibx=SV1

GET http://<HostName>/ecx/v1/ports?bandwidth=100

GET http://<HostName>/ecx/v1/ports?encapsulation=Dot1Q

GET http://<HostName>/ecx/v1/ports?is_buyout=Y

Response

Response Fields:

ports Description List of Ports Type List Required Yes Default NoneExample None name Description Name of Port Type String Required YesDefault None Example GSE_QA-R-EE-02 metro_code Description Code of themetro in which the port is located Type String Required yes Default NoneExample SV metro_name Description Name of the metro in which the port islocated Type String Required yes Default None Example Silicon Valleyibx_name Description Name of the IBX in which the port is located TypeString Required yes Default None Example SV1 bandwidths Description Thebandwidths of the port (Array of values for Lagged Ports) Type ArrayDefault None Example 10 G, 10 G Required No encapsulation DescriptionPort encapsulation Type string Default None Example dot1q or qinqRequired Yes is_buyout Description Buyout Port or Standard Port Typestring Required yes Default None Example Y or N cross_connect_idsDescription Cross connect Serial numbers Type Array Required Yes DefaultNone Example 11111111, 23222

Sample Response 1:

  HTTP/1.1 200 OK Content-Type: application/json {  “ports”: [   {   “name”: “GSE_QA-R-EE-02”,    “metro_code” : “SV”,    “metro_name” :“Silicon Valley”,    “ibx_name” : “SV1”   },   {    “name”:“GSE_QA-R-EE-01”,    “metro_code”: “SG”,    “metro_name”: “Singapore”,   “ibx_name” : “SG1”   } ] }

Sample Response 2:

  HTTP/1.1 200 OK Content-Type: application/json { “ports”:[  {“bandwidth”:“10 G”,  “bandwidths”:[  “10 G”, “10 G” ], “cross_connect_ids”:[   “123456”  “100000”, ], “encapsulation”:“Qinq”,“ibx_name”:“SV3”, “is_buyout”:“N”, “metro_code”:“SV”,“metro_name”:“BAYM”, “name”:“QinqVirtualPort” }

Error Code in Response:

HTTP Status Error Code Code Error Description 400 40001 InvalidParameter Value 401 40102 Token Expired. Login again 401 40104 InvalidAccess Token 406 Not Acceptable 415 Unsupported Media Type 500 InternalServer Error

Resource: Seller Services

Description: Seller Services at the Cloud Exchange

HTTP Method Request URI GET /ecx/v1/sellerservices/ecx/v1/sellservices/{seller_service_name}

GET Seller Services

Description: This implementation of the GET operation returns a list ofall Seller Services at the Cloud Exchange.

Request

Request URI: GET http://<HostName>/ecx/v1/sellerservices,

GET http://<HostName>/ecx/v1/sellerservices/{sellerservice_name}

Filter Parameters: Filter the results by metro. If this parameter is notincluded, the response contains all the seller services at the CloudExchange

Sample Request

GET http://<HostName>/ecx/v1/sellerservices/{seller_service_name}

http://<HostName>/ecx/v1/sellerservices?metro_code

=SV

Response:

Response Fields:

seller_services Description A list of a Seller Type List Required YesDefault None Example None allow_custom_speed Description The buyer cansee all the seller services in a given metro that allow custom speeds ifthe buyer has a buyout port. The values that the response will includecan be either ‘Y’ or ‘N’. Type String Required Yes Default Example Y orN

availability_status: The availability status of the Service Profile as‘In Trial Testing’ or Available for orders.

encapsulation Description Port encapsulation Type String Default NoneExample dot1q or qinq Required Yes require_redudancy Description Thiswill define if a secondary virtual circuit creation is required whenbuyer requests a virtual circuit from this seller service provider. Ifyes, buyer will have to provide primary and secondary both secondaryport and VLAN IDs. Acceptable values are Y and N. Type string RequiredYes Default None Example TRUE

standard_speeds: The allowed standard speeds associated with the serviceprofile when custom speed is not allowed by the seller.

seller service name

metros: A list of Metros served by the seller. Metro name. Metro code. Alist of IBX names in the metro.

Sample Response:

  HTTP/1.1 200 OK Content-Type: application/json  {   “seller_services”:[    {     “allow_custom_speed”: “N”,     “encapsulation”: “Dot1q”,    “metros”: [      {       “code”: “DC”,       “ibxs”: [        “DC5”,       “DC6”       ],       “name”: “Ashburn”      },      {      “code”: “SV”,       “ibxs”: [        “SV1”       ],       “name”:“SiliconValley”      }     ],     “name”: “test1”,    “availability_status”: “in_trial_testing”,     “require_redundancy”:“N”,      “standard_speed      s”: [      “Upto10G”      “Upto200MB”,     “Upto500MB”,      “Upto1G”     ]    }   ] }

Resource: User Assets

Description: Get details of assets owned by a buyer in a given metrolocation.

HTTP Method Request URI GET /ecx/v1/assets

GET Assets

Description: This implementation of the GET operation for buyers returnsa list of all buyer assets

including ports and virtual circuits in a given metro.

Request

Request URI: GET http://<HostName>/ecx/v1/assets

Filter Parameters:

metro_code Description Filter the results by metro. Type String RequiredYes Default None Example SV asset_type Description Filter the results bythe types of assets. Buyer: For getting assets that the user has as abuyer Type String Required Yes Default None Example buyer

Request Headers:

Header Attribute Description Authorization Required. Specify the OauthBearer token

Request

GET http://<HostName>/ecx/v1/assets?metro_code=SV&asset_type=buyer

Response:

Response Fields:

buyer_assets Description Buyer related assets of the user in the metroType Object Required Yes Default None Example None seller_assetsDescription Seller related detail of the user in the metro Type ObjectRequired Yes Default None Example None ports Description List of Ports.Type List Required Yes Default None Example None name Description Nameof the Port Type String Required Yes Default None Example GSE_QA-R-EE-cross_connect _ids Description Cross connect Serial Type Array RequiredYes Default None Example 1111111100 metro_code Description Code of themetro in which the port is Type String Required Yes Default None ExampleSV metro_name Description Name of the metro, in which the port is TypeString Required Yes Default None Example Silicon Valley ibx_nameDescription Name of the IBX in which the port is Type String RequiredYes Default None Example SV1 bandwidths Description The bandwidths ofthe port (Array of values for Lagged Ports) Type Array Default NoneExample 1 G, 1 G Required No encapsulation Description Portencapsulation Type String Default None Example dot1q or qinq RequiredYes is_buyout Description Buyout Port or Standard Port Type StringRequired Yes Default None Example Y or N virtual_circuits DescriptionList of virtual circuits for each Type List Required Yes Default NoneExample None

-   -   id Id of the virtual circuit. This id is required to perform        operations on the virtual circuit APIs like DELETE or GET        Virtual Circuit

redundant_id Description Virtual circuit ID associated with theredundant virtual circuit Type string Required Yes Default None Example4D34239266A3952695956B cross_connect_id [Deprecated, instead refer tofield ‘Ports’.‘cross_connect_ids’] Description Id of the physical portType String Required Yes Default None Example 1111111100 port_speed[Deprecated, instead refer to field ‘Ports’.‘port_speeds’] DescriptionThe capacity of the port, e.g., 1 Type String Required Yes Default NoneExample 1000000000 name Description Virtual circuit name Type StringRequired Yes Default None Example API Test VC1 created_by DescriptionName of the user who has been created the virtual Type String RequiredYes Default None Example First Name Last Name email Description email ofthe user who has been created the virtual circuit Type String RequiredYes Default None Example x@y.com created_date Description Date and timewhen the virtual circuit has been created Type String Required YesDefault None Example 02-15-2014 21:58:20 sell_service_name DescriptionName of the seller service profile for the virtual circuit Type StringRequired No Default None Example Direct Connectavailability_status—The availability status of the Service Profile as‘In Trial Testing’

service_key Description Service Key or Digital Authorization Keyobtained from the Seller Type String Required Yes Default None Examplexxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx state Description State of thevirtual circuit Type String Required No Default None Example PROVISIONEDstatus Description Status of the virtual circuit Type String Required NoDefault None Example BILLED

Sample Response:

HTTP/1.1 200 OK Content-Type: application/json [  {   “buyer_asset”: {  “ports”: [    {     “bandwidth”: “1 G”,     “bandwidths”: [      “1 G,1 G”     ],     “cross_connect_ids”: [      “123456”,      “123457”    ],     “encapsulation”: “Qinq”,     “ibx_name”: “SV3”,    “is_buyout”: “N”, “metro_code”:     “SV”, “metro_name”: “BAYM”,    “name”: “QinqVirtualPort”,     “virtualcircuits”: [      {      “bandwidth”: “Up to 200MB”, “cloud_service_name”:       “CSP1”,“seller_service_name”: “CSP1”,       “availability_status”:“in_trial_testing”, “created_by”:       “reliance user”, “created_date”:“12-12-2014 22:08:06”,       “cross_connect_id”: “123456”,      “email”: “relianceuser@reliance.com”,       “id”:“5566417575566047323754”,       “redundant_id”:“6939666E3693916437C576”,       “name”: “TestCSP1vc2”,      “port_speed”: 100000000,       “service_key”:“87f4f12c-420a-4b3c-9087-c4f82071fd7e”,       “state”: “Provisioned”,      “status”: “Enabled”      }     ]    }   ]  } }, {  “seller_asset”: “”  } ]

Resource: Virtual Circuits

Description: Virtual Circuits

HTTP Method Request URI GET /ecx/v1/virtualcircuits/ecx/v1/virtualcircuits/{virtual_circuit_id} POST/ecx/v1/virtualcircuits

GET Virtual Circuits:

Description: This implementation of the GET operation returns a list ofall virtual circuits owned by the authenticated sender of the request.If the sender has no virtual circuits, a response with HTTP Code 204 isreturned with no payload.

Request

Request Headers:

Header Attribute Description Authorization Required. Specify the OauthBearer token

Request URI: /ecx/v1/virtualcircuits

Filter Parameters

None

Request Fields

None

Sample Request

GET http://<HostName>/ecx/v1/virtualcircuits/{virtual_circuit_id}

Response

Response Fields

id Description Virtual Circuit ID Type string Required Yes Default NoneExample 4D34239266A3952695956A redundant_id Description Virtual circuitID associated with the redundant virtual circuit Type string RequiredYes Default None Example 4D34239266A3952695956B name Description Name ofthe virtual circuit Type string Required Yes Default None Example SteveCSP_A Test VC-7 buyer_port Description Buyer side port name Type stringRequired Yes Default None Example “GSE_QA-R-EE-01 cross_connect_idDescription Id of the physical port Type string Required yes DefaultNone Example 11111111 port_speed Description The capacity of the port,e.g., 1G Type string Required yes Default None Example 1Gcloud_service_name Description Cloud Service Name Type string RequiredYes Default None Example CSP_A_1 service_key Description Service Keyobtained from the Cloud Service Type string Required yes Default NoneExample xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx buyer_vlan DescriptionBuyer side VLAN Id Type string Required yes Default None Example 2004.*bandwidth Description Bandwidth Type string Required Yes Default NoneExample 200 MB state Description State of the virtual circuit. Examplepossible values are “Being Provisioned”, “Ordering”, “Pending”,“Available”, Not Provisioned”,“Provisioned”, “Pending Add”, “Deleted”and “Pending Delete. Type string Default None Example PROVISIONEDRequired No status Description Status of the virtual circuit Type stringRequired No Default None Example BILLED created_date Description Datethe virtual circuit is created Type string Required Yes Default NoneExample May 23, 2014 01:21:54 created_by Description The user whocreated the virtual circuit Type string Required yes Default NoneExample tempuser1 email Description Email of the user Type stringRequired Yes Default None Example test@cloudexchange.com seller_portDescription Seller side port Type string Required yes Default NoneExample GSE_QA-SJC-port-CIS-2-SEC-A metro_code Description Code of themetro in which this Virtual Circuit is located Type string Required YesDefault None Example SV ibx_name Description Name of the metro in whichthis Virtual Circuit is located Type string Required Yes Default NoneExample SV1 seller_service_name Description Name of the seller serviceprofile for the virtual circuit Type string Required No Default NoneExample Direct Connect metadata Description This object can be used byusers to enter metadata information about their VCs. This is not amandatory object of fields. If the buyer passed metadata informationduring VC creation, the buyer can retrieve this metadata informationduring GET Virtual Circuit operation. Only 5 key-value pairs can bepassed in this metadata object. For particular sellers, the metadataobject shall be null. Type object Required No Default None Example None“key: value” Description The key and associated value that the API usercan pass in the metadata object. Type string Required No Default NoneExample None

Sample Response:

  HTTP/1.1 200 OK Content-Type: application/json {  “virtualcircuits”: [  {    “id” : “4D34239266A3952695956A”,    “name”; “Sample Test VC-7”,   “buyer_port”: “GSE_QA-R-EE-01”,    “cross_connect_id”: “14395166”,   “port_speed”: “1G”,    “cloud_service_name”: “CSP_A_1”,   “service_key”: “xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”,   “buyer_vlan”: “2004.*”,    “bandwidth”: “Up to 200MB”,    “state”:“PROVISIONED”,    “status”: “BILLED”,    “created_date”: “05/23/201401:21:54”,    “created_by”: “testuser1”,    “email”:“test@cloudexchange.com”,    “seller_port”:“GSE_QA-SJC-06GMR-C1S-2-SEC-A”,    “metro_code” : “SV”,    “ibx_name” :“SV1”    “seller_service_name”: “cspcreatetest”, “metadata”: { “key1”:“value1”, “key2”: “value2”, “key3”: “value3”, “key4”: “value4”, “key5”:“value5”   },   {    “id” : “1432”,    “name”: “Steve CSP_A Test VC-5”,   “buyer_port”: “GSE_QA-R-EE-01”,    “cross_connect_id”: “14395166”,   “port_speed”: “1G”,    “cloud_service_name”: “CSP_A_1”,    “servicekey”: “xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”,    “buyer_vlan”: “2004.*”,   “bandwidth”: “Up to 200MB”,    “state”: “PROVISIONED”,    “status”:“BILLED”,    “created_date”: “05/23/2014 01:21:54”,    “created_by”:“testuser1”,    “email”: “test@cloudexchange.com”,    “seller_port”:“GSE_QA-SJC-1234-CIS-2-SEC-A”,    “metro_code” : “SV”,    “ibx_name” :“SV1”   }  ] }

Error Code in Response:

HTTP Status Code Error Code Error Description 401 40102 Token Expired,Login again 401 40104 Invalid Access Token 401 40105 User doesn't havesufficient privilege to perform the operation 406 Not Acceptable 415Unsupported Media Type 500 Internal Server Error

POST Virtual Circuits:

Description: Create Virtual Circuit.

Request

Request Headers:

Header Attribute Description Authorization Required. Specify the OauthBearer token

Request URI: POST http://<hostname>/ecx/v1/virtualcircuits

Filter Parameters

None

Request Fields

metro_name Description Name of the metro in which this Virtual Circuitis located Type string Required Yes Default None Example Silicon Valleymetro_code Description Code of the metro in which this Virtual Circuitis located Type string Required Yes Default None Example SVcloud_service_name Description Name of the Cloud Service Profile.Depending on the cloud service selected the fields required in thepayload will differ. Type string Required Yes Default None ExampleCSP_A_1 seller_service_name Description Name of the Seller ServiceProfile. Depending on the seller service selected the fields required inthe payload will differ. Type string Required Yes Default None ExampleName provided by seller service provider primary_vc_name DescriptionPrimary virtual circuit name Type string Required Yes Default NoneExample twtca93 primry_port_name Description Primary buyer Port nameType string Required Yes Default None ExampleGSE_QA-SJC-06GMR-CIS-2-SEC-A secondary_vc_name Description Secondaryvirtual circuit name Type String Required No Default None Exampletwtca94 secondary_port_name Description Secondary buyer port name Typestring Required No Default None Example GSE_QA-SJC-06GMR-CIS-2-SEC-Asecondary_vlan_id Description Secondary buyer VLAN Id Type stringRequired No Default None Example 188 service_key Description Service Keyobtained from the Cloud Service Type string Required Yes Default NoneExample xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx virtual_circuit_speedDescription Speed of the virtual circuit Type string Required YesDefault None Example 200 MB email Description Email of the user Typestring Required No Default None Example test@cloudexchange.com

Other example fields may include seller service provider account number,digital authorization key obtained from the seller service, bordergateway protocol configuration number, the id of the virtual privategateway to a VPC, buyer peer ip (IP address assigned to buyer/clientinterface), IP address assigned to seller service provider interface,email of the user, metadata (as described above), key (This key, itsassociated value that the API user had passed in the metadata objectduring VC creation), and speed of the virtual circuit.

Seller Service Providers Standard Port (Buyer) Buyout Port (Buyer)Seller A 200 MB, 500 MB 50 MB, 100 MB, 200 MB, 300 MB, 400 MB, 500 MBSeller B 200 MB, 500 MB, 1 G 200 MB, 500 MB, 1 G & 10 G (only when thebuyer has a 10 G buyout port) Other Seller Service Profiles 200 MB, 500MB, 1 G 200 MB, 500 MB, 1 G or (Allowing custom speed) integer number,no decimals, between 1 and <= buyer physical port speed

Sample Request

POST http://<HostName>/ecx/v1/virtualcircuits Authorization: Bearer<accessToken> Accept: application/xml or applicationl/json { “metro_name”:“Silicon Valley”,  “metro_code”:“SV”, “cloud_service_name”:“CSP_A_1”,  “primary_vc_name”:“twtca93”, “primary_port_name”:“ GSE_QA-SJC-06GMR-CIS-2-SEC-A”, “primary_vlan_id”:“188”,  “secondary_vc_name”:“twtcp94”, “secondary_port_name”:“GSE_QA-SJC-06GMR-CIS-2-SEC-B”, “secondary_vlan_id”:“188”,  “service_key”:“xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”,  “virtual_circuit_speed”:“Up to200MB”,  “email”:test@cloudexchange.com  “metadata” }

Response

Response Fields:

result Description Result of the operation indicating whether it wassuccessful Valid values are SUCCESS and ERROR Type string Required YesDefault None Example SUCCESS message Description Success Message Typestring Required Yes Default None Example Your Virtual Circuit requestwas successful

Other example fields may include “more info.” primary virtual circuitid, secondary virtual circuit id.

Sample Response:

HTTP/1.1 200 CREATED Location: 4D34239266A3952695956A {  “result”:“SUCCESS”  “message”: “Your Virtual Circuit request was successful.” “more_info”: “https://api.developer.cloudexchange.com/docs/ api/messages/xx” }

Error Code in Response:

HTTP Status Code Error Code Error Description 400 40002 The value of WANshould be between 1 and 4095 400 40003 Cannot select the same port forPrimary and Secondary Virtual Circuit 400 40004 Enter a value for allrequired fields 400 40005 The number of characters exceeded 400 40006Cannot select the same name for Primary and Secondary Virtual Circuit400 40007 Invalid Field Value 400 40009 Application specific error. Ex.,duplicate VLAN Id 401 40102 Token Expired. Login again 401 40104 InvalidAccess Token 401 40105 User doesn't have sufficient privilege to performthe operation 415 Unsupported Media Type 500 Internal Server Error

In some examples, APIs may be provided for deleting virtual circuits.The DELETE operation will remove the virtual circuit provided, aresponse with HTTP Code 200 is returned if operation is successful. Ifthe virtual circuit belongs to certain seller service providers, thoseseller service provider will have to confirm the deletion of the virtualcircuit.

Sample Request

DELETE http://<HostName>/ecx/v1/virtualcircuits/{virtual_circuit_id}

Sample Response:

HTTP/1.1 200 DELETED { “result”: “SUCCESS” “message”: “Your VirtualCircuit has been deleted successfully.” “more_info”: “” }

In some examples, APIs may be provided for PATCH enable connection. Thisimplementation of the PATCH operation lets the users to enable virtualcircuit if the seller requires additional step of authentication beforeenabling the buyer connection request.

Sample Response:

HTTP/1.1 201 CREATED

  {  “result”: “SUCCESS”, “message”: “Connection enabling requestsuccessful” “more_info”: “”

In some examples, APIs are provided for Seller Service Profiles to becreated by sellers in Cloud Exchange. Cloud Exchange sellers arerequired to define and set up their service profiles for connectivity totheir seller services. Sellers can create a profile for each discreteservice that they offer.

In some examples, a “GET virtual circuit payload metadata”implementation of the GET operation returns the payload metadatarequired to create virtual circuits for a given seller service profile.

Sample Request

GET http://<HostName>/ecx/v1/sellerserviceprofiles/CloudSigmaProfile/metadata

Sample Response:

HTTP/1.1 200 OK Content-Type: application/json { “fields”: [ {“description”: “Code of the metro in which this virtual circuit will becreated”, “name”: “metro_code”, “type”: “string” }, { “description”:“Seller Service Name”, “name”: “seller_service_name”, “type”: “string”}, { “description”: “Primary virtual circuit name”, “name”:“primary_vc_name”, “type”: “string” }, { “description”: “Buyers primaryport name”, “name”: “primary_port_name”, “type”: “string” }, {“description”: “Buyers primary VLAN Id”, “name”: “primary_vlan_id”,“type”: “string” }, { “description”: “Secondary virtual circuit name”,“name”: “secondary_vc_name”, “type”: “string” }, { “description”:“Buyers secondary port name”, “name”: “secondary_buyer_port_name”,“type”: “string” }, { “description”: “Buyers secondary VLAN Id”, “name”:“secondary_buyer_vlan_id”, “type”: “string” }, { “description”: “ServiceKey or Digital Authorization Key obtained from CSP”, “name”:“service_key”, “type”: “string” }, { “description”: “Speed of thevirtual circuit”, “name”: “virtual_circuit_speed”, “type”: “string” }, {“description”: “Email of the user”, “name”: “email”, “type”: “string”  }  ] }

Seller APIs

Resource: Ports

Description: Ports on the Cloud Exchange Switch Fabric

HTTP Method Request URI GET /ecx/v1/ports /ecx/v1/ports/{port_name}

GET Ports:

Description: This implementation of the GET operation returns a list ofall ports owned by the authenticated sender of the request. The portscan be filtered by metro, and IBX Name. If no ports matching thecriteria are found then a 204 HTTP response is returned without apayload.

Request

Request URI:

GET http://<HostName>/ecx/v1/ports?metro_code=SV&ibx_name=SV1

Filter Parameters:

metro_code Description Code of a Metro. If no Metro Code is providedports in all metros are returned as part of the response Type stringRequired No Default None Example SV ibx_name Description Equinix IBXlocation name (IBX). If no IBX is provided, the method returns ports inall IBXs Type string Required No Default None Example SV1bandwidth

The bandwidth of the port. If no bandwidth is provided then ports withany bandwidth capacity are returned.

Request Headers:

Header Attribute Description Authorization Required. Specify the OAuthBearer token

Sample Request:

GET http://<HostName>/ecx/v1/ports?metro_code=SV&ibx=SV1

Response

Response Fields:

ports Description List of Ports. Type List Required Yes Default NoneExample name Description Name of the Port Type string Required YesDefault None Example GSE_QA-R-EE-02 metro_code Description Code of themetro in which the port is located Type string Required yes Default NoneExample SV metro_name Description Name of the metro, in which the portis located Type string Required yes Default None Example Silicon Valleyibx_name Description Name of the IBX in which the port is located Typestring Required yes Default None Example SV1

Other example response fields: bandwidths, encapsulation, is_buyout,cross_connect_ids (cross connect serial numbers).

Sample Response:

  HTTP/1.1 200 OK Content-Type: application/json {   “ports”: [    {    “name”: “GSE_QA-R-EE-02”,     “metro_code” : “SV”,     “metro_ name”: “Silicon Valley”,     “ibx_name” : “SV1”    },    {     “name”:“GSE_QA-R-EE-01”,     “metro_code”: “SG”,     “metro_name”: “Singapore”,    “ibx_name” : “SG1”    } ] }

Error Code in Response:

HTTP Status Code Error Code Error Description 400 40001 InvalidParameter Value 401 40102 Token Expired, Need to login again. 401 40104Invalid Access Token 401 40105 User doesn't have sufficient privilege toperform the operation 406 Not Acceptable 415 Unsupported Media Type 500Internal Server Error

Resource: seller service profiles

Description: Seller Service Profiles created by sellers in Equinix CloudExchange. Equinix Cloud Exchange sellers are required to define and setup their service profiles for connectivity to their seller services.Sellers can create a profile for each discrete service that they offer.

HTTP Method Request URI GET /ecx/v1/sellerserviceprofiles GET/ecx/v1/sellerserviceprofiles/{profile_name} GET/ecx/v1/sellerserviceprofiles/{profile_name}/metadata POST/ecx/v1/sellerserviceprofiles/ecx/v1/sellerserviceprofiles/{profile_name}/ports PUT/ecx/v1/sellerserviceprofiles/{profile_name} DELETE/ecx/v1/sellerserviceprofiles/{profile_name}/ports

POST seller service profiles. This implementation of the POST operationcreates a new seller service profile for the logged in user. Examplerequest fields include: name, availability status (The availabilitystatus of the Service Profile as ‘In Trial Testing’ or ‘Available forOrders’), virtual circuit label, service type, api available (Indicateswhether API integration is available for this service. The APIintegration allows completing the virtual service provisioning.Acceptable values are TRUE and FALSE), The authorization key label (Thisis what the seller organization calls the authorization key), The portencapsulation method used for seller side, Type of seller services thisconnection can reach, Require redundancy—This will define if a secondaryvirtual circuit creation is required when buyer requests a virtualcircuit from this seller service provider. If yes, buyer will have toprovide both primary and secondary port and VLAN IDs. Acceptable valuesare TRUE and FALSE: secondary_vlan_same—If this field has a value of“TRUE” the buyer will be forced to provide the same vlan id for bothprimary and secondary virtual circuits: capture_buyer_peer_ip—Indicateswhether to capture buyer peer IP address. Acceptable values are TRUE andFALSE; Capture Buyer BGP ASN; Capture Virtual Private Gateway;capture_seller_peer_ip—Indicates whether to capture buyer peer IPaddress. Acceptable values are TRUE and FALSE.

Other example request fields include: The Bandwidth Threshold AlertContacts. Multiple email address can be separated by comma. notificationcontacts: Contacts that will be notified of virtual circuit requests anddeletions. alert percentage: Bandwidth threshold per port: The ports theseller service provider will enable for buyers to establish virtualcircuit connection: The virtual circuit speeds offered;allow_custom_speed: The seller can choose to allow buyers to selectcustom speeds if the buyer has a buyout port.

Sample Request

POST http://<HostName>/ecx/v1/sellerserviceprofiles {  “name”:“TestService123”,“availability_status”: “In_Trial_Testing”, “virtual_circuit_label”: “Virtual Connection Name”, “service_type”: “Seller Service Connectivity”, “api_available”: “TRUE”,“auth_key_label”: “Authorization Key”,  “port_encapsulation”: “QNQ”,“connection_service_type”:  “Hybrid”, “require_redundancy”: “TRUE”, “secondary_vlan_same”: “TRUE”, “capture_buyer_bgp_asn”:  “FALSE”,“capture_buyer_peer_ip”: “TRUE”,  “capture_seller_peer_ip”: “TRUE”, “capture_virtual_private_gateway”: “TRUE”,  “threshold_alert_contacts”:“user1@equinix.com,user@equinix.com”,  “notification_contacts”:“user2@equinix.com”, “allow_custom_speed”: “TRUE”, “ports”: [“GSE_Test-02”, “GSE_Test-03” ], “vlan_speeds”: [ “Up to 200MB”, “Up to500MB”, “Up to 1G”   ],   “alert_percentage”: “90” }

Response Fields:

result Description Result of the operation indicating whether it wassuccessful. Valid values are SUCCESS and ERROR Type String Require YesDefault None Exampl SUCCESS message Descript Success Message Type stringRequire Yes Default None Exampl The Seller Service Profile has beenCreated more_info Deseript Additional Type string Require No DefaultNone Example

Sample Response:

HTTP/1.1 200 Created { “result”: “SUCCESS”, “message”: “The SellerService Profile has been Created successfully”, “more_info”: “” }

POST Ports to Seller Service Profiles

Description: This implementation of the POSToperation enables givenports (owned by the user) for seller exchange service offering. Inparticular, the operation adds ports to an existing seller serviceprofile.

Note: A Seller Service Profile will have to be Approved for thisoperation to be possible. Rejected or Pending Seller Service Profileswill not be allowed to be edited and ports can't be added until it is inApproved status.

Request URIs:

POST

http://<HostName>/ecx/v1/sellerserviceprofiles/{profile_name}/ports

As another example, a DELETE operation will remove the port from theSeller Service Profile, a response with HTTP Code 200 is returned ifoperation is successful. There cannot be an active VC associated to theport which is being deleted, if a virtual circuit already exists on theport, an error message is displayed indicating that there is an existingvirtual circuit on the port.

At least one port must be present in a service profile.

As another example, a PUT operation will be used to edit the existingSeller Service Profile, a response with HTTP Code 200 is returned ifoperation is successful. The profile state (Approved or PendingApproval) will not change during the Edit operation.

The fields that can be updated in the put operation are:

Attribute Req Comments Name Required If the input matches the existingvalue in DB then no change. If does not match then the input value willbe updated in DB. availability_ Required If the input matches theexisting value in status DB then no change. If does not match then theinput value will be updated in DB. virtual_ Required If the inputmatches the existing value in DB circuit_label then no change.service_type Required If the input matches the existing value in DB thenno change. api_available Required If the input matches the existingvalue in DB then no change, If does not match then the input value willbe updated in DB. auth_key_ Required If the input matches the existingvalue in label DB then no change. if does not match then the input valuewill be updated in DB. connection_ Required If the input matches theexisting value in service_type DB then no change. If does not match thenthe input value will be updated in DB. require_ Required If the inputmatches the existing value in DB redundancy then no change. If does notmatch then the input value will be updated in DB. secondary_ Required Ifthe input matches the existing value in DB vlan_same then no change.capture_ Required If the input matches the existing value in DBbuyer_bgp_ then no change. If does not match then the asn input valuewill be updated in DB. capture_ Required If the input matches theexisting value in DB buyer_peer_ip then no change. If does not matchthen the input value will be updated in DB. capture_ Required If thevalue matches the existing value in DB seller_peer_ip then no change. Ifdoes not match then the input value will be updated in DB. capture_Required If the value matches the existing value in DB virtual_ then nochange. If does not match then the private_ input value will be gatewayupdated in DB. Valid values are ‘TRUE’ or ‘FALSE’. alert_ Optional Therange is from 0 to 99. If not provided percentage thenthreshold_alert_contacts must also be NULL/EMPTY. threshold_ Optional Ifalert_percentage is provided then alert_contactsthreshold_alert_contacts must also be NOT- NULL and provided with validarray of alert contacts. notification_ Required Update all thethreshold_alert_contacts from contacts input into the DB. Existingcontacts will be removed and overridden with the new input array. portsRequired Update all the ports from input into the DB. Existing portswill be removed and overridden with the new input array. vlan_speedsRequired Update all the vlart_speed values from input into the DB.Existing speeds will be removed and overridden with the new input array.allow_ Required If the value matches the existing value in custom_speedDB then no change. If does not match then the input value will beupdated in DB. Valid values are ‘TRUE’ or ‘FALSE’.

As another example, “GET My Seller Service Profiles” can be used bysellers to get a list of all seller service profiles they have created.This implementation of the GET operation returns a seller serviceprofile passed as part of the profile_name path parameter. Filtering byseller service status is also available by setting a parameter.

Sample Request:

GET http://<HostName>/ecx/v1/sellerserviceprofiles (get all my sellerservice profiles)

GET http://<HostName>/ecx/v1/sellerserviceprofiles/{profile_name} (getseller service profile by name)

GEThttp://<HostName>/ecx/v1/sellerserviceprofiles/{profile_name}?status={valid_status}(get seller service profile by name and status)

GET http://<HostName>/ecx/v1/sellerserviceprofiles?status={valid_status}(get seller service profile by status)

As another example, GET assets can be used by sellers to get details ofassets owned by a Seller in a given metro location. This implementationof the GET operation for sellers returns a list of all assets includingports and virtual circuits in a given metro. A seller can also be aBuyer and hence the ‘asset type’ for a seller can be both ‘buyer’ and‘seller’.

Resource: Virtual Circuits

Description: Virtual Circuits

HTTP Method Request URI GET /ecx/v1/virtualcircuits/ecx/v1/virtualcircuits/{virtual_circuit_id} POST/ecx/v1/virtualcircuits

GET Virtual Circuits:

Description: This implementation of the GET operation returns a list ofvirtual circuits owned by the user. The virtual circuits can be filteredbased on their status. If no virtual circuits are found matching thecriteria, a response with HTTP Code 204 is returned with no payload.

Request

Request URI(s):

GET http://<HostName>/ecx/v1/virtualcircuits?pending=add

Filter Parameters:

pending

Description: Status of the virtual circuits. Possible values are add Toget all the virtual circuits that are created by a buyer but not yetaccepted by the seller delete To get all the virtual circuits that aredeleted by a buyer but not yet accepted by the seller Type stringRequired No Default None Example add

Request Headers:

Header Attribute Description Authorization Required. Specify the OauthBearer token

Request Fields:

None

Sample Request:

GET http://<HostName>/ecx/v1/virtualcircuits?pending=add

Response

Response Fields

id Description Virtual circuit ID Type string Required Yes Default NoneExample 4D34239266A3952695956A name Description Name of the virtualcircuit Type string Required Yes Default None Example Steve CSP_A TestVC-7 buyer_port Description buyer side port id Type string Required YesDefault None Example “GSE_QA-R-EE-01 cross_connect_id Description Id ofthe physical port Type string Required Yes Default None Example 11111111port_speed Description The capacity of the port eg: 1 G or 10 G Typestring Required Yes Default None Example 1 G cloud_service_nameDescription Cloud Service Name Type string Required Yes Default NoneExample CSP_A_1 service_key Description Service Key obtained from theCloud Service Type string Required Yes Default None Examplexxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx buyer_vlan Description Buyer sideVLAN Id Type string Required Yes Default None Example 2004.* bandwidthDescription Bandwidth Type string Required Yes Default None Example 200MB status Description Status of the virtual circuit Type string RequiredNo Default None Example BILLED created_date Description Date the virtualcircuit is created Type string Required Yes Default None Example May 23,2014 01:21:54 created_by Description The user who created the virtualcircuit Type string Required Yes Default None Example tempuser1 emailDescription Email of the user Type string Required Yes Default NoneExample test@cloudexchange.com seller_port Description Seller port Typestring Required No Default None Example GSE_QA-SJC-06GMR-CIS-2-SEC-Ametro_code Description Code of the metro in which this Virtual Circuitis located. Type string Required Yes Default None Example SV ibx_nameDescription Name of the IBX in which this Virtual Circuit is locatedType string Required Yes Default None Example SV1Other example fields such as those included above in other examples maybe used.

Sample Response:

    HTTP/1.1 200 OK     Content-Type: application/json { “virtualcircuits”: [   {    “id” : “4D34239266A3952695956A”,    “name”:“Test Virtual Circuit”,    “buyer_port”: “GSE_QA-R-EE-01”,   “cross_connect_id”: “11111111”,    “port_speed”: “1G”,   “cloud_service_name”: “CSP_A_1”,    “service_key”:“xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx”,    “buyer_vlan”: “2004.*”,   “bandwidth”: “Up to 200MB”,    “status”: “BILLED”,    “created_date”:“05/23/2014 01:21:54”,    “created_by”: “temp user”,    “email”:“test@cloudexchange.com”,    “seller_port”: “sellerport”,   “metro_code” : “SV”,    ibx_name” : “SV1”   } ] }

Error Code in Response:

HTTP Status Code Error Code Error Description 400 40001 InvalidParameter Value 401 40102 Token Expired, need to login again 401 40104Invalid Access Token 401 40105 User doesn't have sufficient privilege toperform the operation 406 Not Acceptable 415 Unsupported Media Type 500Internal Server Error

PATCH Virtual Circuit:

Description: The PATCH operation can be used to perform the followingthree types of operations on a virtual circuit by the seller:

-   -   Accept a Virtual Circuit created by a buyer    -   Reject a Virtual Circuit created by a buyer    -   Confirm the deletion of the Virtual Circuit by a buyer

Request

Request URI(s):

PATCH http://<HostName>/ecx/v1/virtualcircuits/{virtual_circuit_id}

Request Headers:

Header Attribute Description Authorization Required. Specify the OauthBearer token

Request Fields:

action Description Action on the resource. Valid values are approveApprove a virtual circuit created by a buyer reject Create a virtualcircuit created by a buyer confirm_delete Confirm the deletion of theVirtual Circuit by a buyer available Update the status of VirtualCircuit is available after approval not_available Update the status ofVirtual Circuit to not available. Type string Required Yes Default NoneExample approve port_name Description Seller side Port Name Type stringRequired Yes Default None Example GSE_QA-SJC-06GMR-CIS-2-SEC-A vlan_idDescription Seller side VLAN Id Type string Required Yes Default NoneExample xxxx-xxxxxxredundant_vlan_idreject_comment— seller side comment to explain the rejection of thevirtual circuit

Sample Request

PATCH http://<hostname>/ecx/vc2/virtualcircuit/4D34239266A3952695956A {“action” : “approve”, “port_name” : “GSE_QA-SJC-06GMR-CIS-2-SEC-A”,“vlan_id” : “188” }

Response:

Response Fields:

result Description Result of the Operation indication whether it wassuccessful. Valid values are SUCCESS and ERROR Type string Required YesDefault None Example SUCCESS

Sample Response:

 HTTP/1.1 200 OK {  ″result″: ″SUCCESS″,  ″message″: The requestedvirtual circuit has been rejected and the buyer  has been notified.″, ″more_info″: ″https://api.developer.cloudexchange.com/docs/api/ messages/vcs/2” }

Error Code in Response:

HTTP Error Status Code Code Error Description 400 40002 The value ofVLAN should be between 1 and 4095 400 40004 Enter a value for allrequired fields 400 40007 Invalid Field Value 400 40008 Virtual Circuitcannot be deleted by seller as it is not deleted by the buyer 400 40009Application specific error. Ex., duplicate VLAN ID 401 40101Authentication failed 401 40102 Token Expired, Login again 401 40104Invalid Access Token 401 40105 User doesn't have sufficient privilege toperform the operation 406 Not Acceptable 415 Unsupported Media Type 500Internal Server Error

All Error Codes

HTTP Error Status Code Code Error Description 400 40001 InvalidParameter Value 400 40002 The value of VLAN should be between 1 and 4095400 40003 Cannot select the same port for Primary and Secondary Service400 40004 Enter a value for all required fields 400 40005 The number ofcharacters exceeded 400 40006 Cannot select the same name for Primaryand Secondary Virtual Circuit 400 40007 Invalid Field Value 400 40008Virtual Circuit cannot be deleted by seller as it is not deleted by thebuyer 400 40009 Application specific error. Ex., duplicate VLAN Id 40040010 Invalid value for grant_type. The acceptable value is “password”.401 40101 Authentication Failed. Invalid Usemame or Password. 401 40102Token Expired. Login again. 401 40103 Invalid API Key 401 40104 InvalidAccess Thken 401 40105 User doesn't have sufficient privilege to performthe operation 404 Not Found 405 Method not Allowed 406 Not Acceptable415 Unsupported Media Type 500 Internal Server Error 503 ServiceUnavailable 504 Gateway Timeout

Other endpoints 406 may have request/response schemes similar to thoseprovided above for Login 406A, Ports 406B, Metros 406C. Virtual Circuits406E, and Cloud Services 406F.

Login 406A enables a secure channel for access to interconnection assetsby authenticated and authorized partners and customers. Moreover, theinterconnection platform provides out-of-the-box capability to addresssecurity issues (threat protection, SQL Injection protection, DDoSattack prevention, JSON bomb protection, etc.). In some examples, anentity uses its credentials (e.g., username, password, API key and/orAPI secret) to obtain a security token (e.g., an OAuth 2.0 token) usingLogin 406A, the security token thereafter ensuring that requests issuedby the now-authorized entity to other endpoints 406 are from anauthorized customer or partner.

API gateway 403, in some examples, transforms application data formattedaccording to a request to any of endpoints 406 and uses the transformedapplication data to make calls to orchestration engine 407.Orchestration engine 407 may represent one or more real servers and/orvirtual machines configured to implement the cloud exchange platformservices 408A-408H (collectively, “platform services 408”) in thisexample. In response to invocation by API gateway 403 A workflow andrules engine (not shown in FIG. 3B) of orchestration engine 407 mayapply defined rules and policies to generate a workflow of cloudexchange API services 409 that, in general, fit within an overallfunction associated with one of platform services 408. As illustrated,the platform services 408 include policy management 408A, profiles andconfiguration 408B, billing and invoicing 408C, seller API integration408D, virtual circuit management 408E, network interface management408F, search and recommendation 408G, and inventory and locationdiscovery 408H. Each of platform services may represent a workflow andrules engine for a different aspect of cloud service provisioning.

Cloud exchange API services 409A-409R (collectively, “cloud exchangeservices 409”) represent services offered by the interconnectionplatform to modify the cloud exchange network infrastructure, managecontent, manage incidents, manage inventory and capacity, ensure securedaccess, and manage orders/billing for providers and customers, asexamples. Any of cloud exchange services 409 may itself represent abundle of microservices for request/response transactions invokable byorchestration engine 407 managing a workflow.

Cloud exchange services 409 includes request validation 409A,authorization and auditing 409B, account and profile management 409C,inventory management 409D, capacity management 409E, networkprovisioning 409F, credit check validator 409G, billing 409H, seller APIintegration 409I, location 409J, trouble ticket management 409K,localization 409L, usage statistics 409M, recommendation 409N,schedulers and batch processors 409O, notifications 409P, error parser409Q, and content management 409R. Seller API integration 409I mayenable orchestration engine 407 to invoke software interfaces of sellerapplications of CSPs to, e.g., request that the seller applicationconfirm addition or deletion of virtual circuits (as requested by theNSP/customer) on behalf of the seller.

FIG. 4 is a block diagram showing an alternative representation of aninterconnection platform 103 for a cloud exchange according totechniques described in this disclosure. In this diagram, the technicalarchitecture for interconnection platform 103 includes an API serviceslayer 420 for validating and satisfying API queries, validating andsatisfying API commands, and integrating subsystems 120 with theinterconnection orchestration engine 407. One or more real serversand/or virtual machines of a data center may execute each ofinterconnection orchestration engine 407, services of API services layer420, and sub-systems 120. Interconnection API endpoints 406 are exampleAPI endpoints by which API consumers 402 (FIG. 3A) may manage cloudexchange interconnections.

Workflow management and routing component 410 manages workflows androutes API calls to endpoints 406 to engines 412A-412J (collectively,“engines 412”) that perform consolidated functionality by invokingvarious microservices of API services layer 420. Engines 412 includeauthentication and authorization engine 412A; configuration, audit, andtracking engine 412B; API command controllers 412C; API querycontrollers 412D; service composition engine 412E; order managementengine 412F; notification engine 412G; recommendation and analyticsengine 412H; interconnection interface engine 412I; and API workflow andrules repository 412J.

Examples API services of API services layer, as illustrated, include APIquery services 422A having request parameter validator services 424A andquery provider services 424B; API command services 422B having requestbody validator services 424C and command provider services 424D; andintegration façade services 422C having request delegator and serviceadapter 424E and response parsing and transformation 424F.

Examples of sub-systems 120 are illustrated in FIG. 4. Identificationand access management system 426A performs authentication andauthorization to valid access to the interconnection platform services.Seller API integration module 426B facilitates integration of theinterconnection platform 103 with cloud service provider APIs forcreating and validating interconnections with cloud service providernetworks, as described elsewhere herein. Cloud exchange database 428represents a configuration database describing the configuration of thecloud exchange managed by interconnection platform 103. Network system426C provisions, configures, queries, and otherwise controls the networkinfrastructure of the cloud exchange managed by interconnection platform103. Order management system 426D performs end-to-end management ofcustomer orders for, e.g., virtual circuits. Incident management system426E facilitates handling errors in the cloud exchange managed byinterconnection platform, such as by alerting the cloud exchangeprovider, notifying customers, etc. Content management system 426Fmanages content for the interconnection platform 103.

FIGS. 5-11 are flow diagrams each illustrating a call flow andoperations performed by example components of an interconnectionplatform for a cloud exchange, as described in this disclosure.

In the example of FIG. 5, API developers 402 (e.g., a buyer/seller/thirdparty) can make use of services 409 to manage cloud exchangeinterconnections. FIG. 5 illustrates a process which can be used forvirtual circuit creation applicable to all Cloud Service Providers(CSPs). For example, one of API developers 402 can pass logininformation, such as one or more of a user name, password, API key, andAPI secret, to API gateway 403 (454A). API gateway 403 performs API keyand API secret validation (454B), interacts with identity management andfederation 450 (454C, 454D), and provides an OAuth 2.0 token back to theAPI developer 402 (454E). API developer 402 receives the OAuth 2.0 tokenand can invoke an API endpoint (e.g., one of API endpoints 406) byproviding the OAuth 2.0 token and one or more parameters to API gateway403 (454F). API gateway 403 may perform a data format transformation(e.g., XML. JSON) (454G) and OAuth 2.0 token validation (454H). APIgateway 403 then contacts orchestration engine 407 to invoke the cloudexchange platform service (456A).

Orchestration engine 407 orchestrates an API workflow based on definedrules and responses. For example, workflow and rules engine 306 oforchestration engine 407 can orchestrate the API workflow based on oneor more of policies 308A, profiles 308B, configurations 308C, and microservices 308D (FIG. 2). Generally speaking, orchestration engine 407 caninvoke one or more services 409 in parallel or in a defined order basedon configured rules and/or policies. In the example of FIG. 5,orchestration engine 407 invokes service A (460A) and service B (460B)of services 409, then receives a response from service A (460C) andreceives a response from service B (460D). Orchestration engine 407 theninvokes service C (460E) and receives a response from service C (460F).Orchestration engine 407 sends to API gateway 403 a response from thecloud exchange platform service (456B). API gateway 403 receives theresponse from the cloud exchange platform service, and may perform adata format transformation (e.g., XML, JSON) on the information receivedin the response (454I). API gateway 403 sends one or more responseheaders and body to API developer 402 that invoked the API endpoint(454J).

In this manner, orchestration engine 407 provides an interconnectionplatform for a cloud exchange, making interconnection asset informationavailable to API developers 402 through machine-to-machine interaction.The process outlined in FIG. 5 may be applied to different use cases,such as for allowing API developers to obtain information about one ormore virtual circuits, allowing API developers to obtain informationabout one or more interconnection assets (e.g., metro-based cloudexchanges, cloud exchange points, ports of cloud exchanges), allowingsellers to define parameters for connectivity, allowing API developersto obtain information about cloud service profile and attributesexpected for creation of a virtual circuit, or near real-time deletionof virtual circuits by buyers.

FIG. 6 is a flow diagram illustrating a call flow and operationsperformed by example components of an interconnection platform for acloud exchange in making interconnection asset information available toAPI developers 402 through machine-to-machine interaction. FIG. 6includes some operations similar to those described above respect toFIG. 5. In response to receiving a request from API gateway 403 invokingthe cloud exchange platform service, orchestration engine 407 canorchestrate an API workflow based on defined rules and responses. Forexample, FIG. 6 allows API developers 402 to obtain information such asan OAuth 2.0 token from permission data store 452 throughmachine-to-machine interaction. Specifically, API gateway 403 can send auser name and password received from API developer 402 (454A), aftervalidation (454B), to identity management and federation 450 (454C),which in turn provides this information to permission data store 452(462A), which returns a user name and user key to identity managementand federation 450 (462B). Identity management and federation 450 mayperform SAML to OAuth mapping (462C), and provides an OAuth token to APIgateway 403 (454D). API gateway 403 can perform an OAuth Token toGateway OAuth 2.0 mapping (462D), and may optionally perform an XML/JSONconversion (462E). API gateway 403 then provides the OAuth 2.0 token toAPI developer 402 (454E).

FIG. 7 is a flow diagram illustrating a call flow and operationsperformed by example components of an interconnection platform for acloud exchange in making interconnection asset information available toAPI developers 402 through machine-to-machine interaction. FIG. 7includes some operations similar to those described above respect toFIG. 5. In response to receiving a request from API gateway 403 invokingthe cloud exchange platform service (470E), orchestration engine 407 canorchestrate an API workflow based on defined rules and responses. Forexample, FIG. 7 shows how orchestration engine 407 can invoke a portrequest parameter validation service of services 409 specifying portparameters that were included in the initial request from API developer402 invoking the ports endpoint (470F). Orchestration engine 407receives a response from the port request parameter validation serviceindicating whether the port request parameter(s) are valid (470G).Orchestration engine 407 can then invoke a port query service (470H) andreceive a response from port query service (470I), e.g., specifyingspecific port information based on the port request parameters.Orchestration engine 407 can include the port information in theresponse from the cloud exchange platform service to API gateway 403(470J), and API gateway 403 in turn can provide the port information toAPI developers 402 (470L).

FIG. 8 is a flow diagram illustrating a call flow and operationsperformed by example components of an interconnection platform for acloud exchange in making interconnection asset information available toAPI developers 402 through machine-to-machine interaction. FIG. 8includes some operations similar to those described above respect toFIG. 5. In response to receiving a request from API gateway 403 invokingthe cloud exchange platform service (472E), orchestration engine 407 canorchestrate an API workflow based on defined rules and responses. Forexample, FIG. 8 shows how orchestration engine 407 can invoke a metrorequest parameter validation service of services 409 specifying metroparameters that were included in the initial request from API developer402 invoking the metros endpoint (472F). Orchestration engine 407receives a response from the metro request parameter validation service,e.g., indicating whether the metro request parameter(s) are valid(472G).

Orchestration engine 407 can then invoke a metro query service (472H)and receive a response from metro query service, e.g., specifyingspecific metro information based on the metro request parameters (472I).Orchestration engine 407 can include the metro information in theresponse from the cloud exchange platform service to API gateway 403(472J), and API gateway 403 in turn can provide the metro information toAPI developers 402 (472L).

FIG. 9 is a flow diagram illustrating a call flow and operationsperformed by example components of an interconnection platform for acloud exchange in making interconnection asset information available toAPI developers 402 through machine-to-machine interaction. FIG. 9includes some operations similar to those described above respect toFIG. 5. In response to receiving a request from API gateway 403 invokingthe cloud exchange platform service (474E), orchestration engine 407 canorchestrate an API workflow based on defined rules and responses. Forexample, FIG. 9 shows how orchestration engine 407 can invoke a cloudservice request parameter validation service of services 409 specifyingcloud service parameters that were included in the initial request fromAPI developer 402 invoking the cloud services endpoint (474F).Orchestration engine 407 receives a response from the cloud servicerequest parameter validation service, e.g., indicating whether the cloudservice request parameter(s) are valid (474G). Orchestration engine 407can then invoke a cloud service query service (474H) and receive aresponse from cloud service query service, e.g., specifying specificcloud service information based on the cloud service request parameters(474I). Orchestration engine 407 can include the cloud serviceinformation in the response from the cloud exchange platform service toAPI gateway 403 (474J), and API gateway 403 in turn can provide thecloud service information to API developers 402 (474L).

FIG. 10 is a flow diagram illustrating a call flow and operationsperformed by example components of an interconnection platform for acloud exchange in making interconnection asset information available toAPI developers 402 through machine-to-machine interaction. FIG. 10includes some operations similar to those described above respect toFIG. 5. In response to receiving a request from API gateway 403 to viewa virtual circuit and invoking the cloud exchange platform service(476E), orchestration engine 407 can orchestrate an API workflow basedon defined rules and responses. For example, FIG. 10 shows howorchestration engine 407 can invoke a virtual circuit request parametervalidation service of services 409 (476F) specifying virtual circuitparameters that were included in the initial request (476A) from APIdeveloper 402 invoking the virtual circuit endpoint. Orchestrationengine 407 receives a response from the virtual circuit requestparameter validation service, e.g., indicating whether the virtualcircuit request parameter(s) are valid (476G). Orchestration engine 407can then invoke a virtual circuit query service (476H) and receive aresponse from virtual circuit query service, e.g., specifying specificcloud service information based on the virtual circuit requestparameters (476I). Orchestration engine 407 can include the virtualcircuit information in the response (476J) from the cloud exchangeplatform service to API gateway 403, and API gateway 403 in turn canprovide the virtual circuit information to API developers 402 (476L).

FIG. 11 is a flow diagram illustrating a call flow and operationsperformed by example components of an interconnection platform for acloud exchange in dynamically managing interconnection assets for APIdevelopers 402 through machine-to-machine interaction. FIG. 11 includessome operations similar to those described above respect to FIG. 5. Inresponse to receiving a request from API gateway 403 invoking the cloudexchange platform service (480E), orchestration engine 407 canorchestrate an API workflow based on defined rules and responses. Forexample, FIG. 11 shows how orchestration engine 407 can invoke a metroservice (480F) to validate a metro code included in the initial requestfrom API developer 402 invoking the virtual circuit endpoint (480A).Orchestration engine 407 receives a response from the metro service(480G).

Orchestration engine 407 can then validate a cloud service provider namewith a cloud service (480H), and receive a response from cloud service(480I). Orchestration engine 407 can then invoke a port service tovalidate the seller and buyer ports (480J), and receive a response fromthe port service specifying whether the ports are valid for therequested virtual circuit (480K). Orchestration engine 407 can theninvoke a network service provisioning service (e.g., networkprovisioning service 409F FIG. 3B) to automatically configure thevirtual circuit within the cloud exchange (480L), and receive a responsefrom the network service provisioning service (480M). Orchestrationengine 407 can then invoke a billing service (e.g., billing service409H, FIG. 3B) (480N) and receive a response from the billing service(480O). Orchestration engine 407 can then invoke a CSP API to completevirtual circuit creation (480P), and receive a response from the CSP API(480Q). Orchestration engine 407 can include the virtual circuitinformation describing, e.g., whether the virtual circuit creation wassuccessful, confirmation parameters, and connectivity parameters, in theresponse from the cloud exchange platform service to API gateway 403(480R), and API gateway 403 in turn can provide the virtual circuitinformation to the requesting API developers 402 (480T).

In this manner, the techniques of this disclosure can be used to makeInterconnection Asset Information such as Virtual Circuits and Portsinformation available to developers through machine-to-machineinteraction. In some examples, the techniques of this disclosure canallow access to an Interconnection platform to enable creation ormodification of Virtual Circuits of varying bandwidths throughmachine-to-machine interaction. In some examples, the techniques of thisdisclosure can allow Sellers (e.g., CSPs, NSPs and managed SP (MSPs))the access to the Interconnection platform to obtain customizedanalytics about competitor presence in different metros and data centersthrough machine-to-machine interaction.

In some examples, the techniques of this disclosure can allow Buyers(e.g., NSPs, Enterprises) the access to the Interconnection Platform toobtain customized analytics about cloud service presence in areas wherethey already have port presence through machine-to-machine interaction.In some examples, the techniques of this disclosure can allow Sellers(CSPs, NSPs, and MSPs) the access to Interconnection platform to obtaincustomized analytics about buyer port density across different metrosand data centers through machine-to-machine interaction. In someexamples, the techniques of this disclosure can allow automated APIrequest interception to validate partner access to interconnectionassets, thus ensuring security of partner assets throughmachine-to-machine interaction. In some examples, the techniques of thisdisclosure can allow on demand access to dynamically set up and teardown virtual circuits through machine-to-machine interaction and directaccess to interconnection platform resources. In some examples, thetechniques of this disclosure can allow on demand access to schedulesetup and tear down of virtual circuits at pre-defined intervals throughmachine-to-machine interaction and direct access to interconnectionplatform resources. In some examples, the techniques of this disclosurecan accept and Allow request for virtual circuit speed bursting atcertain pre-scheduled times to buyers (NSPs and enterprises) tocapitalize on lower bandwidth usage and enable faster completion ofbatch processing tasks such as data backup or restore throughmachine-to-machine interaction (speed bursting).

In some examples, the techniques of this disclosure can allow detailedand customized analytics on virtual circuit traffic usage across datacenters, metros and regions through machine-to-machine interaction. Insome examples, the techniques of this disclosure can provide detailedand customized recommendations through APIs to partner developers andbusiness teams on setting up their ports and virtual circuits foroptimal performance, low latency and better interconnectivity throughmachine-to-machine interaction. In some examples, the techniques of thisdisclosure can allow machine based access to interconnection assetsthrough the use of APIs. In some examples, the techniques of thisdisclosure can allow on demand setup of virtual circuits between buyersand sellers through the use of API ecosystem. In some cases, APIs mayenable a much better connectivity between buyers and sellers through theavailability of location discovery, asset discovery, cloud servicediscovery, customized traffic analytics, customized usage analytics,superior recommendation engine and an end-to-end automated virtualcircuit provisioning system, for example, while abstracting thecomplexity of the entire interconnection platform. APIs can also enablea secure channel for access to interconnection assets outside of thecloud exchange domain by authenticated and authorized partners andcustomers. The API platform provides out of the box capability toaddress security issues (e.g., threat protection, SQL Injectionprotection, DDoS attack prevention, JSON bomb protection, etc).

Example details of a cloud-based service exchange are found in U.S.Provisional Patent Application No. 62/149,374, entitled “Cloud-basedServices Exchange” and filed on Apr. 17, 2015, which is incorporatedherein by reference in its entirety.

Further example details of services exchanges for Ethernet andL3/Internet with direct L3/BGP peering are found in U.S. Pat. No.8,537,845 entitled “REAL TIME CONFIGURATION AND PROVISIONING FOR ACARRIER ETHERNET EXCHANGE”, filed Sep. 13, 2012; U.S. Utilityapplication titled “REAL TIME CONFIGURATION AND PROVISIONING FOR ACARRIER ETHERNET EXCHANGE” filed on Sep. 2, 2010 having application Ser.No. 12/875,054, which claims the benefit of and priority to allthree: 1) U.S. Provisional application titled “ETHERNET EXCHANGE” filedon Dec. 10, 2009 having application Ser. No. 61/285,371 and isincorporated herein by reference in its entirety; 2) U.S. Provisionalapplication titled “PRIVATE NETWORK CONNECTIVITY PLATFORM” filed on Sep.4, 2009 having application Ser. No. 61/239,997 and is incorporatedherein by reference in its entirety; and 3) U.S. Provisional applicationtitled “ETHERNET EXCHANGE” filed on Apr. 12, 2010 having applicationSer. No. 61/323,066 and is incorporated herein by reference in itsentirety, and U.S. patent application titled “REAL TIME CONFIGURATIONAND PROVISIONING FOR A CARRIER ETHERNET EXCHANGE” filed on Sep. 2, 2010having application Ser. No. 12/875,054. Each of the above patents andpatent applications are incorporated herein by reference in theirrespective entireties.

FIG. 12 is a block diagram illustrating further details of one exampleof a computing device that operates in accordance with one or moretechniques of the present disclosure. FIG. 12 may illustrate aparticular example of a server or other computing device 500 thatincludes one or more processor(s) 502 for executing any one or more ofAPI gateway 112/403, orchestration engine 118/407, sub-systems 120, orany other computing device described herein. Other examples of computingdevice 500 may be used in other instances. Although shown in FIG. 12 asa stand-alone computing device 500 for purposes of example, a computingdevice may be any component or system that includes one or moreprocessors or other suitable computing environment for executingsoftware instructions and, for example, need not necessarily include oneor more elements shown in FIG. 12 (e.g., communication units 506; and insome examples components such as storage device(s) 508 may not beco-located or in the same chassis as other components). Computing device500 may be located and execute, for example, within any of cloudexchange points 128, another interconnection facility, or at a branchoffice or cloud computing environment employed or used by a cloudexchange provider.

As shown in the specific example of FIG. 12, computing device 500includes one or more processors 502, one or more input devices 504, oneor more communication units 506, one or more output devices 512, one ormore storage devices 508, and user interface (UI) device 510, andcommunication unit 506. Computing device 500, in one example, furtherincludes one or more applications 522, virtual concept-buildingapplication 524, and operating system 516 that are executable bycomputing device 500. Each of components 502, 504, 506, 508, 510, and512 are coupled (physically, communicatively, and/or operatively) forinter-component communications. In some examples, communication channels514 may include a system bus, a network connection, an inter-processcommunication data structure, or any other method for communicatingdata. As one example, components 502, 504, 506, 508, 510, and 512 may becoupled by one or more communication channels 514. Computing device 500may be located and execute, for example, within any of cloud exchangepoints 128, another interconnection facility, or at a branch office orcloud computing environment employed or used by a cloud exchangeprovider.

Processors 502, in one example, are configured to implementfunctionality and/or process instructions for execution within computingdevice 500. For example, processors 502 may be capable of processinginstructions stored in storage device 508. Examples of processors 502may include, any one or more of a microprocessor, a controller, adigital signal processor (DSP), an application specific integratedcircuit (ASIC), a field-programmable gate array (FPGA), or equivalentdiscrete or integrated logic circuitry.

One or more storage devices 508 may be configured to store informationwithin computing device 500 during operation. Storage device 508, insome examples, is described as a computer-readable storage medium. Insome examples, storage device 508 is a temporary memory, meaning that aprimary purpose of storage device 508 is not long-term storage. Storagedevice 508, in some examples, is described as a volatile memory, meaningthat storage device 508 does not maintain stored contents when thecomputer is turned off. Examples of volatile memories include randomaccess memories (RAM), dynamic random access memories (DRAM), staticrandom access memories (SRAM), and other forms of volatile memoriesknown in the art. In some examples, storage device 508 is used to storeprogram instructions for execution by processors 502. Storage device508, in one example, is used by software or applications running oncomputing device 500 to temporarily store information during programexecution.

Storage devices 508, in some examples, also include one or morecomputer-readable storage media. Storage devices 508 may be configuredto store larger amounts of information than volatile memory. Storagedevices 508 may further be configured for long-term storage ofinformation. In some examples, storage devices 508 include non-volatilestorage elements. Examples of such non-volatile storage elements includemagnetic hard discs, optical discs, floppy discs, flash memories, orforms of electrically programmable memories (EPROM) or electricallyerasable and programmable (EEPROM) memories.

Computing device 500, in some examples, also includes one or morecommunication units 506. Computing device 500, in one example, utilizescommunication units 506 to communicate with external devices via one ormore networks, such as one or more wired/wireless/mobile networks.Communication units 506 may include a network interface card, such as anEthernet card, an optical transceiver, a radio frequency transceiver, orany other type of device that can send and receive information. Otherexamples of such network interfaces may include 3G and WiFi radios. Insome examples, computing device 500 uses communication unit 506 tocommunicate with an external device.

Computing device 500, in one example, also includes one or more userinterface devices 510. User interface devices 510, in some examples, areconfigured to receive input from a user through tactile, audio, or videofeedback. Examples of user interface devices(s) 510 include apresence-sensitive display, a mouse, a keyboard, a voice responsivesystem, video camera, microphone or any other type of device fordetecting a command from a user. In some examples, a presence-sensitivedisplay includes a touch-sensitive screen.

One or more output devices 512 may also be included in computing device500. Output device 512, in some examples, is configured to provideoutput to a user using tactile, audio, or video stimuli. Output device512, in one example, includes a presence-sensitive display, a soundcard, a video graphics adapter card, or any other type of device forconverting a signal into an appropriate form understandable to humans ormachines. Additional examples of output device 512 include a speaker, acathode ray tube (CRT) monitor, a liquid crystal display (LCD), or anyother type of device that can generate intelligible output to a user.

Computing device 500 may include operating system 516. Operating system516, in some examples, controls the operation of components of computingdevice 500. For example, operating system 516, in one example,facilitates the communication of one or more applications 522 andinterconnection platform application(s) 524 with processors 502,communication unit 506, storage device 508, input device 504, userinterface devices 510, and output device 512.

Application 522 and interconnection platform application(s) 524 may alsoinclude program instructions and/or data that are executable bycomputing device 500. Example interconnection platform application(s)524 executable by computing device 500 may include any one or more oforchestration engine module 550, API gateway module 552, and sub-systems554, each illustrated with dashed lines to indicate that these may ormay not be executable by any given example of computing device 500.

Orchestration engine module 550 may include instructions for causingcomputing device to perform one or more of the operations and actionsdescribed in the present disclosure with respect to orchestration engine118 and orchestration engine 407. As one example, orchestration enginemodule 550 may include instructions that cause computing device 500 toorganize, direct and integrate underlying software sub-systems of theinterconnection platform for a cloud exchange for managing variousaspects of interconnection within the network infrastructure as well ascloud services management. The orchestration engine module 550 may, forexample, provide a rule-drive workflow engine that operates between theAPIs and the underlying interconnect platform of a cloud exchange thatincludes sub-systems and network infrastructure.

API gateway module 552 may include instructions for causing computingdevice to perform one or more of the operations and actions described inthe present disclosure with respect to API gateway 112 and API gateway403. As one example, API gateway module 403 may include instructionsthat cause computing device 500 to expose a collection of softwareinterfaces, e.g., APIs 114, that define the methods, fields, and/orother software primitives by which applications may invoke theinterconnection platform. These software interfaces allow carriers andcustomers programmable access to capabilities and assets of a cloudexchange.

Sub-systems 554 may include instructions for causing computing device toperform one or more of the operations and actions described in thepresent disclosure with respect to sub-systems 120.

FIG. 13 is a block diagram illustrating an example cloud exchange system700 showing an example logical architecture of an orchestration engine704 in further detail. Orchestration engine 704 may represent, forexample, any of orchestration engine 118 (FIGS. 1A-1C and FIG. 2),orchestration engine 407 (FIGS. 3A-3B, 4-5, 7-11), and orchestrationengine module 550 of computing device 500 (FIG. 12).

The orchestration engine 704 operates as part of an overallinterconnection platform (e.g., interconnection platform 103 of FIGS.1B, 1C) to seamlessly set up interconnection assets including virtualconnections (e.g., virtual circuits) between buyers and sellers, such asbetween an enterprise and a cloud service provider. In the example ofFIG. 13, orchestration engine 704 includes two major components:orchestrator 706 and microservices 708 provided by the cloud exchangesystem 700. Orchestration engine 704 also includes service discoveryengine 710 and process manager 712. Orchestration engine 704 mayrepresent a centralized or distributed application and may execute on amanagement device such as one or virtual machines and/or real servers ofdata center 101 (FIG. 1A).

Microservices 708 each implements a set of focused and distinct featuresor functions, and a microservice conforms to (or is usable in) anarchitectural pattern in which many dozens or even hundreds ofmicroservices can be independently developed and deployed. Microservice708 may be organized around a business capability (e.g., API dock engine726, REST interfaces 728, socket connection 730, monitoring 732, andnotifications 734) and may implement a “broad-stack” of software for thebusiness capability, including persistent storage and any externalcollaboration. The various microservices 708 expose interfaces thatenable the microservices 708 to invoke one another to exchange data andperform the respective sets of functions in order to create an overallapplication. In some examples, microservices 708 may represent orinclude other microservice examples described in this disclosure, e.g.,microservices for implementing cloud exchange services 409. API queryservices 422A, API command services 422B, integration façade services422C, any microservices provided by sub-systems 120, and microservices308D.

Each of microservices 708 may adhere to a well-defined ApplicationProgramming Interface (API) and may be orchestrated, by invoking the APIof the microservice 708, according to a workflow performed by theorchestrator 706. The orchestrator 706 component “orchestrates” themicroservices 706 based on rules or workflow defined for various APIsexposed by the orchestrator 706 (e.g., via an API server/gateway such asAPI gateways 112, 403, and 718) and invokable by API requests thatconform to the respective API contracts. The orchestrator 706 may handleAPI requests generically by following an established set of rules, orworkflows, that allow a fully-customizable API contract for eachexternal channel to API consumers, whether a portal, mobile application,or developer API, for instance. The workflow may be implemented in someexamples as a state machine. Because of variability in therequest/response contract for each channel, the orchestrator 706described in this disclosure may embrace and provide equal support forthe differences across different channels.

Orchestration engine 704 organizes, directs and integrates underlyingsoftware and network sub-systems for managing various aspects ofinterconnection for the cloud exchange. Orchestrator 706 oforchestration engine 704 may, for example, execute a rule-drivenworkflow engine that operates between the APIs and the underlyinginterconnect platform of the exchange. For example, orchestrator 706 maycorrespond to workflow and rules engine 306 of FIG. 2 that operates inaccordance with policies 308A. In this way, orchestration engine 704 canbe used by customer-proprietary applications and the APIs for directparticipation within the interconnection platform of the cloud exchange.

As described herein, orchestration engine 704 synthesizes theinformation and actions from underlying sub-systems of theinterconnection platform to formulate intelligent next steps andresponses to dynamic requests made by the customer applications. Assuch, orchestration engine 704 abstracts the complexity of theunderlying software and network sub-systems of the cloud exchange byproviding a uniform, simplified, and secured means to access theinterconnection platform.

In the example of FIG. 13, cloud exchange system 700 provides multipleplatforms allowing access to the cloud exchange functionality providedby cloud exchange system 700, including web proxy 714, SaaS web portal716, and API gateway 718. Orchestration engine 704 services all requestscoming in from these platforms, regardless of whether the requests weremade via cloud exchange portal 713, white label portal 715 developed bythe cloud exchange provider but labeled for the customer, and APIs 717.For example, web proxy 714. SaaS web portal 716, and Web proxy 714, SaaSweb portal 716, and API gateway 718 represent different channels forrequests to access the orchestrator 706. For example, a customer may usea web application to log in to the portal 713 and access services of theinterconnection platform. As another example, a customer or developermay use APIs to access cloud exchange data. Orchestration engine 704 canreceive requests entered using a cloud exchange portal 713 via web proxy714. Orchestration engine 704 can receive requests entered using a whitelabel portal 715 via a SaaS web portal 716. Orchestration engine 704 maycommunicate with SaaS web portal 716 (e.g., a CSP portal) using anetwork protocol such as Hyper Text Transfer Protocol (HTTP), forexample, or other network protocol. Orchestration engine 704 can receiverequests entered using APIs 717 via an API gateway 718. API gateway 718may represent any of the API gateways described herein and uses servicediscovery engine 710 to identify service instances to which to routerequests received via APIs 717.

As described briefly above, microservices 708 represent cloud exchangefunctions that are broken down into smaller services (microservices)organized around business capability. The microservices 708 may executea broad-stack software implementation for that business area, includingpersistent storage, and any external collaboration, such as with thirdparty systems 724.

Orchestrator 706 receives a request from the web proxy 714, portal 716,or API gateway 718, and seamlessly coordinates multiple microservices ofmicroservices 708 to service the request. For example, based on thereceived request, orchestrator 706 may determine a workflow thatautomatically calls the microservices needed to service the request. Forexample, API gateway 718 passes an input, orchestration engine 704processes the input, calls multiple microservices 708 and obtains dataneeded to satisfy the contracts needed by the API and sends a responseto the API including the data needed by the API. For example, to createa virtual circuit, orchestrator 706 needs multiple microserviceendpoints. For example, orchestrator 706 needs a metro, a port, andbilling information. These are all individual internal APIs which areseamlessly orchestrated through orchestrator 706, as described herein.With a request/response operation, the API (for instance) may invoke themetro microservice, and the orchestration engine invokes a managed metroroutine (workflow) and performs required services to fulfill the requestwith regard to that metro routine, via the microservice, and then sendsback any data relevant to the operation. Orchestration engine 704 mayinvoke cloud service provider connectors from one of the microservices.In this manner, orchestration engine 704 provides the service or datarequested by the customer in a seamless manner such that the customer isnot made aware of the underlying details of the individual microservicesbeing invoked according to the workflow selected by the orchestrator 706for servicing the customer request.

In some examples, the microservices 708 may represent microservicesdeveloped and provided by cloud service providers. That is, orchestrator706 may invoke a cloud service provider interface accessible via one ofthe microservices. For example, Azure (provided by MicrosoftCorporation) may provide cloud services and expose an interfaceaccessible by one of the microservices 708 developed for the purpose ofmanaging the cloud services. The orchestrator 706 can call a RESTfulinterface (an example of a “CSP API” described elsewhere herein) to themicroservice provided by Azure to fulfill some of the functionality. Forexample, to create a virtual connection from the cloud-exchangeapplication to a cloud service provider, the orchestration engine 704may invoke an Azure-provided microservice to perform certain of thefunctions, such as enabling a port. After invoking the Azure-providedmicroservice, the orchestrator may invoke other microservices toimplement the overall workflow. For example, the orchestrator may theninvoke ordering, validation, and/or authentication microservices.RESTful API endpoints/channels may provide accessibility tomicroservices.

In the example of FIG. 13, microservices 708 include an internal APIdocument engine API 726 (“API Doc Engine”), REST interface microservice728, socket connection microservice 730, monitoring microservice 732,notifications microservice 734, and API service framework 722.Orchestration engine 704 also uses internal API service framework 722 tointeract with various internal or third party systems via APIs, wheninvoking one or more of microservices 708. Microservices 708 may presentAPI interfaces to orchestrator 706 and execute in the API serviceframework 722. APIs 721A-721C (“APIs 721”) may be called by componentsof a microservices layer of orchestration engine 704, and may beconsidered microservice endpoints. APIs 721 are not customer-facingAPIs.

In the example of FIG. 13, orchestration engine 704 uses API serviceframework 722 to interact with enterprise systems 720 via private API721A. Orchestration engine 704 uses API service framework 722 tointeract with other systems 723 via private API 721B. Orchestrationengine 704 uses API service framework 722 to interact with third partysystems via a public API 721C, and to integrate cloud-based servicesplatforms into the cloud exchange.

FIG. 14 is a block diagram illustrating an example system 800 showing areference architecture for an orchestration engine 704 in furtherdetail. Orchestration engine 704 may represent, for example, any oforchestration engine 118 (FIGS. 1A-1C and FIG. 2), orchestration engine407 (FIGS. 3A-3B, 4-5, 7-11), orchestration engine module 550 ofcomputing device 500 (FIG. 12), and orchestration engine 704 of FIG. 13.As one example, system 800 may represent a different logical view ofcloud exchange system 700 of FIG. 13.

Orchestration engine 704 operates as part of an overall interconnectionplatform (e.g., interconnection platform 103 of FIGS. 1B, 1C) toseamlessly set up interconnection assets including virtual connections(e.g., virtual circuits) between buyers and sellers, such as between anenterprise 840 and a cloud service provider 842. For example,orchestration engine 704 may seamlessly set up virtual circuits 150,155, 160, 165, 170 between customer systems 196 of FIG. 1C.

Orchestration engine 704 may represented centralized or distributedapplications and may execute on a management device such as one orvirtual machines and/or real servers of data center 101 (FIG. 1A).Orchestration engine 704 may receive requests for interconnection assetsfrom various customer systems. For example, orchestration engine 704 mayreceive requests from internal administrators (i.e., administratorsbelonging to the same entity as orchestration engine 704) (“admin”),network service providers (NSP), cloud service providers (CSP) 842,enterprises 840 and developers. Orchestration engine 804 may receive therequests at web proxy 810 via browser 812A, at white label SaaS 814 viabrowser 812B, or at API gateway 816 via API 818.

Orchestrator 806 can manage workflows for performing such functions asmanage port, manage metro, CSP detail, order management, view virtualcircuit, delete virtual circuit, search, support and tickets, monitoringand statistics, analytics and recommendation, for example. Orchestrator806 can also perform additional functions not shown, including thosedescribed above with respect to orchestration engine 407. In someexamples, orchestrator 806 may maintain a library of workflows, fromwhich orchestrator can select and load a suitable workflow in responseto receiving a request via any of the channels mentioned above.

In some examples, orchestration engine 704 may run as a set of virtualmachines executing on a server network device. Orchestration engine 704may be built and run on a software application platform such as Node.js.Microservices may be enabled using a web application framework.Microservices and workflows may be built and run as distributedapplications in software containers. Orchestration engine 704 may usein-memory grid caching using an in-memory and persistent disk database.

Aspects of the orchestration engine 704 may be built on Node.js or othersimilar platform that, e.g., provides an event-driven architecture and anon-blocking I/O API designed to optimize an application's throughputand scalability for real-time web applications. Node.js is alightweight, open-source platform having that facilitatesloosely-coupled and scalable systems that communicate using, e.g., HTTPand JSON, which are built into Node.js. This may facilitate microservicedesign principles for creating and deploying microservices 708.

The orchestrator 706 may use state machines to implement workflows thatinvoke multiple microservices 706 in a defined ordering to satisfy anAPI contract. Microservices 706 (and multiple instances of each ofmicroservices 706) may be deployed in separate containers for isolationand modularity, while also providing enhanced quality and reliabilitywith integrated testing, logging, monitoring, and diagnostic strategies.Container technology is a mechanism for deploying units of work across avast pool of compute resources and has become a strategic deploymentstrategy for scalability. Microservices and containers provide aconvergence of technical approaches to building scalable systems.Node.js is an open source platform that is optimized for building highlyscalable lightweight, asynchronous communicating processes and exposingAPIs to any Web consumer. Orchestration engine 704 may leverage Node.js,microservices, and containers, for implementation and deployment as amicroservices-based interconnection platform for a cloud-based servicesexchange.

Orchestration engine 704 also includes functionality for calling utilityfunctions 819 including error framework, logging, administration,notifications, auditing, and monitoring, for example. Utility functions819 may include a process manager to keep applications alive with zerodowntime, and which performs process monitoring, process log watching,memory management, and the like.

FIG. 14 also illustrates a plurality of internal microservices 708 oforchestration engine 704 including, for example, virtual circuit, port,link aggregation group (LAG), metro, CSP detail, Quality of Service(QoS), customer service and ticketing, search (e.g., CSP, NSP,locations, ports, virtual circuits), assets and network inventory,language, and service settings. Microservices 708 present individualinternal APIs (that is, internal to orchestration engine 706 and notexposed via API 818, e.g.) or microservice endpoints. In some examples,microservices 708 may correspond to microservices 308D of FIG. 2. Forexample, the “metro” internal API of microservices 708 corresponds to amicroservice interface for a metro operation that is internal toorchestration engine 704. An API consumer such as one of API consumers402 (FIG. 3A) may request a metro via customer-facing metros API 406C ofAPIS 114 (FIG. 3A), and orchestrator 706 will translate from thecustomer-facing metros API 406C to the internal metro microservice 806.Orchestrator 706 can select a workflow that ties together the individualmicroservices that are needed to satisfy the customer-facing metro APIoperation.

Orchestration engine 704 also includes functionality for callingasynchronous jobs 817 including manual provisioning/de-provisioning,order scheduler, order status updater, usage statistics, cloud serviceprovider location discovery, for example. The orchestrator 706 may callthese jobs asynchronously.

Orchestration engine 704 can interface with various sub-systems820A-820F (“sub-systems 820”), such as content management system 820A,traffic management systems 820B, incidence management system 820C, portmanagement system 820D, ID and access management system 820E, and ordermanagement system 820F, for example. Sub-systems 820 may correspond tosub-systems 120 of FIGS. 1B, 1C, 2, and 4, for example. For example,content management system 820A includes data associated with contentthat may be distributed via a web application portal, such as SaaS webportal 716. For example, traffic management systems 820B providestraffic-related data for internal cloud exchange platform traffic, suchas at the port level or virtual circuit level. In one example, whenorchestrator 706 selects a workflow to provide a function relating tosupport and tickets, orchestrator 706 uses one of microservices 708(e.g., customer service and ticketing microservice) to interface withone of sub-systems 820, such as incidence management system 820C,according to the selected workflow. The microservice may connect to adatabase, connect using a REST API, connect using a JSON call, or othermechanism, to interface with the sub-systems 820.

In some examples, sub-systems 820 may apply the service tasksorchestrated by orchestration engine 118, which may include modifyingany of cloud exchange points 128 to perform the on-demand setup ofvirtual circuits between CSPs 842 and enterprises 840, for example, orotherwise manage cloud exchange interconnection assets such as ports,metros, data centers, virtual circuits and virtual circuit bandwidth,profiles, and configuration.

Orchestration engine 704 can interface with one or more SDN controllers832 for the network infrastructure of the cloud-based services exchange.SDN controllers 832 may reside within the cloud exchange platform datacenter, such as data center 101 of FIG. 1. SDN controllers 832 may beused to connect switches between point A to point B within a cloudexchange network infrastructure. Techniques for orchestrating SDNcontrollers in the context of a cloud-based services exchange aredescribed in further detail in U.S. Provisional Patent Appln. No.62/164,965, filed May 21, 2015 and entitled “Active Panel Demarcation”;and in U.S. Provisional Patent Appln. No. 62/216,804, filed Sep. 10,2015 and entitled “Automated Fiber Cross-connect Service within aMulti-tenant Interconnection Facility.” each of which is incorporated byreference herein in its entirety.

FIG. 15 is a flowchart illustrating an example workflow performed by anorchestration engine in accordance with example aspects of thisdisclosure. For purposes of example, FIG. 15 is described with respectto orchestration engine 704 of FIGS. 13 and 14, but may likewise applyto other examples of an orchestration engine described herein.

Orchestration engine 704 receives client requests for cloud exchangeplatform services, such as via the cloud exchange portal 814 or APIgateway 816 (1500). Orchestration engine 704 sends the client requestfor cloud exchange platform services to orchestrator 706 (1502). Basedon the client request, orchestrator 706 selects a workflow from aworkflow library or folder (e.g., workflows folder 1612 of FIG. 16including workflows WF1, WF2, WF3, and WF4), where the selected workflowcontains the set of tasks needed to fulfill the request throughmicroservice calls (1504). For example, orchestrator 706 may select theworkflow based on configured rules or policies (e.g., policies 308A ofFIG. 2), and/or based on a profile associated with the client (e.g.,profiles 308B of FIG. 2). Orchestrator 706 will automatically load theselected workflow, and the microservices execute according to theworkflow (e.g., sequentially and/or in parallel) (1506). The workflowsfolder 1612 contains workflows that have been previously defined (e.g.,by cloud exchange developers) for each customer endpoint. For example,there may be a first workflow defined for a metro customer endpoint anda second workflow defined for a port customer endpoint. Workflowsprovide a set of logic that uses one or more state machines as a guideto indicate how to transfer from one state to another to fulfill therequest. A workflow defines a task orchestration. Workflows provide away to decompose a series of complex operations down to a sequence ofdiscrete tasks within a state machine and executed by microservices tosatisfy requests received via different request channels like portalsand API. Each request can have different associated domain contracts.For a given request, orchestrator 706 selects a workflow that uses asequence of discrete tasks within a state machine to satisfy the domaincontract associated with the request.

The microservices then return respective responses to orchestrator 706(1508). The responses may include data provided by the microservice.Orchestrator 706 consolidates the data received in the responses fromeach of the workflows, as necessary to fulfill the client request(1510). Orchestration engine 704 then responds to the client request forcloud exchange services (1512).

In this context, microservices are endpoints, and a task is an actioncurrently executing to fulfill a request. One example task could be tocall a set of microservices (endpoints), collectively. When you call aparticular endpoint, some data is returned, which may be data to be usedby the next endpoint, in a chain. In this manner, the workflow maydefine a chain of tasks to be completed, where data obtained in one taskmay be used in and/or may determine the next task.

As one example, a cloud exchange customer may want to connect tomultiple different cloud service providers via the cloud exchangeplatform. In this situation, orchestrator 706 has to call multiple APIs.In another example, a cloud service provider can create a template foronboarding new customers and provide the template to orchestrator, andthe orchestrator can easily use the template for onboarding newcustomers who want to connect with the cloud service provider.Orchestrator 706 can orchestrate any type of workflows, and more thanone customer can use the workflows. The same workflow can be used bydifferent customers for executing the functionality they need (e.g.,creating a virtual circuit). Various example workflows are illustratedand described with respect to FIGS. 5-11 and 16-17.

FIG. 16 is an example logical diagram illustrating an exampleorchestration engine workflow relating to creating a virtual circuit. Inthis example, orchestrator 706 receives a client request 1622 thatinvokes a “/virtual circuit” API endpoint, exposed by orchestrator 706,to provision a virtual circuit in the cloud-based services exchangebetween the client and a cloud service provider. Orchestrator 706selects a workflow for provisioning a virtual circuit from workflowsfolder 1612, loads the selected workflow, and pushes a new job to datastructure store 1610. Orchestrator 706 also subscribes topublish-subscribe server 1620 for job status.

The workflow specifies a set of task. For example, the workflow forprovisioning the virtual circuit specifies a set of tasks comprising:(i) obtaining port details, (ii) obtaining metro details, and (iii)creating the virtual circuit based on the port details and the metrodetails. Orchestrator 706 can distribute tasks of the set of tasksacross a plurality of workflow runners 1616A-1616D, which access one ormore of microservices 1630A-1630D (endpoints) to perform the tasks. Theworkflow runners 1616 may pick jobs from a queue maintained by datastructure store 1610. In some examples, each task in a selected workflowmay be executed on a different thread. Tasks may be executed in parallelor sequentially. As each task finishes, publish-subscribe server 1620 isupdated, and publish-subscribe server 1620 notifies orchestrator 706.For example, “Job Finished” is a method that is called once theexecution of the workflow finishes. When orchestrator 706 determinesthat the virtual circuit has been established, orchestrator 706 maynotify the client that made the request, e.g., by returning an HTTPresponse.

In some cases, the sequence of tasks in a workflow may be more complexthan just tasks performed in a series. Tasks can fail, and soorchestrator 706 may at times need to deal with timeouts, retries,“stuck” flows, and so forth. One way to define a workflow and its tasksis using an arbitrarily-complex language. Another way may involve makingsome assumptions, such as: (1) Code is the definition language; (2)Tasks are independent, and can be used into different workflows; (3) Theonly way to communicate between tasks is the workflow. Tasks can add,remove or modify properties of the workflow. (4) If a task requires aspecific property of the workflow to be present, the task can fail, orre-schedule itself within the workflow. The system must be designed withfailures in mind. Tasks can fail and, as a consequence, workflows mayfail. Orchestrator 706 may need to recover from a task failure, or froma whole workflow failure. In some examples, orchestrator 706 uses aservice discovery engine 710 (FIG. 13) to discover an alternatemicroservice to use when a first task fails due to the microservice notresponding properly or returning an error message.

For example, if there are five microservice tasks that orchestrator 706has to execute for providing a cloud exchange service, process manager712 of orchestration engine 704 can decide to execute the tasks inparallel, or sequentially. If orchestrator 706 determines that aparticular microservice is not responding properly, or the microservicereturns an error message, orchestrator 706 determines whether to executethe microservice again or whether there is any other fallbackmicroservice that orchestrator 706 can use instead. Orchestrator 708uses service discovery engine 710 (FIG. 13) to discover an alternatemicroservice (e.g., having a different uniform resource locator (URL)).

Orchestrator 706 may call a first URL for a microservice, but thatmicroservice returns an error code. Orchestrator 706 uses servicediscovery engine 710 to determine whether orchestrator 706 shoulddiscover an alternate microservice (e.g., having a different uniformresource locator (URL)). For example, orchestrator 706 may invoke a portmicroservice, which includes multiple different URLs that are interfacesto different port applications that perform the port microservice.

FIG. 17 is an example logical diagram illustrating an exampleorchestration engine workflow relating to obtaining employee payrollinformation. In this example, orchestrator 706 receives a client request1642 that invokes an “/employee payroll” API endpoint, exposed byorchestrator 706, to obtain employee payroll information. Orchestrator706 selects a workflow for obtaining employee payroll information fromworkflows folder 1612, loads the selected workflow, and pushes a new jobto data structure store 1610. Orchestrator 706 also subscribes topublish-subscribe server 1620 for job status.

The workflow specifies a set of task. For example, the workflow forobtaining employee payroll information specifies a set of taskscomprising: (i) obtaining user details, (ii) obtaining user payrolldetails based on the user details. Orchestrator 706 can distribute tasksof the set of tasks across a plurality of workflow runners 1616A-1616D,which access one or more of microservices 1650A-1650D (endpoints) toperform the tasks. The microservices 1650A-1650D accessed by workflowrunners 1616A-1616D in the example of FIG. 17 may be differentmicroservices than microservices 1630A-1630D in the example of FIG. 16.The workflow runners 1616 may pick jobs from a queue maintained by datastructure store 1610. In some examples, each task in a selected workflowmay be executed on a different thread. Tasks may be executed in parallelor sequentially. As each task finishes, publish-subscribe server 1620 isupdated, and publish-subscribe server 1620 notifies orchestrator 706.For example, “Job Finished” is a method that is called once theexecution of the workflow finishes. When orchestrator 706 determinesthat the employee payroll information has been obtained, orchestrator706 may notify the client that made the request, e.g., by returning anI-HTTP response.

FIGS. 18A-18B are block diagrams illustrating example networkinfrastructure and service provisioning by an interconnection platformfor a cloud exchange that aggregates the cloud services of multiplecloud service providers for provisioning to customers of the cloudexchange provider and aggregates access for multiple customers to one ormore cloud service providers, in accordance with techniques described inthis disclosure. In this example, customer networks 1808A-1808C(collectively, “customer networks 1808”), each associated with adifferent customer, access a cloud exchange point within a data center1800 in order receive aggregated cloud services from one or more cloudservice provider networks 1820, each associated with a different cloudservice provider 110. Customer networks 1808 each include endpointdevices that consume cloud services provided by cloud service providernetwork 1820. Example endpoint devices include servers, smart phones,television set-top boxes, workstations, laptop/tablet computers, videogaming systems, teleconferencing systems, media players, and so forth.

Customer networks 1808A-1808B include respective provideredge/autonomous system border routers (PE/ASBRs) 1810A-1810B. Each ofPE/ASBRs 1810A, 1810B may execute exterior gateway routing protocols topeer with one of PE routers 1802A-1802B (“PE routers 1802” or moresimply “PEs 1802”) over one of access links 1816A-1816B (collectively,“access links 1816”). In the illustrated examples, each of access links1816 represents a transit link between an edge router of a customernetwork 1808 and an edge router (or autonomous system border router) ofcloud exchange point 1803. For example, PE 1810A and PE 1802A maydirectly peer via an exterior gateway protocol, e.g., exterior BGP, toexchange L3 routes over access link 1816A and to exchange L3 datatraffic between customer network 1808A and cloud service providernetworks 1820. Access links 1816 may in some cases represent andalternatively be referred to as attachment circuits for IP-VPNsconfigured in IP/MPLS fabric 1801, as described in further detail below.Access links 1816 may each include a direct physical connection betweenat least one port of a customer network 1808 and at least one port ofcloud exchange point 1803, with no intervening transit network. Accesslinks 1816 may operate over a VLAN or a stacked VLAN (e.g, QinQ), aVxLAN, an LSP, a GRE tunnel, or other type of tunnel.

While illustrated and primarily described with respect to L3connectivity, PE routers 1802 may additionally offer, via access links1816, L2 connectivity between customer networks 1808 and cloud serviceprovider networks 1820. For example, a port of PE router 1802A may beconfigured with an L2 sub-interface that provides, to customer network1808A, L2 connectivity to cloud service provider 1820A via access link1816A. The port of PE router 1802A may be additionally configured withan L3 interface that provides, to customer network 1808A, L3connectivity to cloud service provider 1820B via access links 1816A.

Each of access links 1816 and aggregation links 1822 may include anetwork interface device (NID) that connects customer network 1808 orcloud service provider 1828 to a network link between the NID and one ofPE routers 1802, 1804. Each of access links 1816 and aggregation links1822 may represent or include any of a number of different types oflinks that provide L3/network connectivity.

In this example, customer network 1808C is not an autonomous systemhaving an autonomous system number. Customer network 1808C may representan enterprise, network service provider, or other customer network thatis within the routing footprint of the cloud exchange point. Customernetwork includes a customer edge (CE) device 1811 that may executeexterior gateway routing protocols to peer with PE router 1802B overaccess link 1816C. In various examples, any of PEs 1810A-1810B mayalternatively be or otherwise represent CE devices.

Access links 1816 include physical links. PE/ASBRs 1810A-1810B, CEdevice 1811, and PE routers 1802A-1802B exchange L2/L3 packets viaaccess links 1816. In this respect, access links 1816 constitutetransport links for cloud access via cloud exchange point 1803. Cloudexchange point 1803 may represent an example of any of cloud exchangepoints 128. Data center 1800 may represent an example of data center201.

Cloud exchange point 1803, in some examples, aggregates customers 1808access to the cloud exchange point 1803 and thence to any one or morecloud service providers 1820. FIGS. 18A-18B, e.g., illustrate accesslinks 1816A-1816B connecting respective customer networks 1808A-1808B toPE router 1802A of cloud exchange point 1803 and access link 1816Cconnecting customer network 1808C to PE router 1802B. Any one or more ofPE routers 1802, 1804 may comprise ASBRs. PE routers 1802, 1804 andIP/MPLS fabric 1801 may be configured according to techniques describedherein to interconnect any of access links 1816 to any of cloudaggregation links 1822. As a result, cloud service provider network1820A, e.g., needs only to have configured a single cloud aggregate link(here, access link 1822A) in order to provide services to multiplecustomer networks 1808. That is, the cloud service provider operatingcloud service provider network 1802A does not need to provision andconfigure separate service links from cloud service provider network1802A to each of PE routers 1810, 1811, for instance, in order toprovide services to each of customer network 1808. Cloud exchange point1803 may instead cross-connect cloud aggregation link 1822A and PE 1812Aof cloud service provider network 1820A to multiple cloud access links1816 to provide layer 3 peering and network reachability for the cloudservices delivery.

In addition, a single customer network, e.g., customer network 1808A,need only to have configured a single cloud access link (here, accesslink 1816A) to the cloud exchange point 1803 within data center 1800 inorder to obtain services from multiple cloud service provider networks1820 offering cloud services via the cloud exchange point 1803. That is,the customer or network service provider operating customer network1808A does not need to provision and configure separate service linksconnecting customer network 1808A to different PE routers 1812, forinstance, in order to obtain services from multiple cloud serviceprovider networks 1820. Cloud exchange point 1803 may insteadcross-connect cloud access link 1816A (again, as one example) tomultiple cloud aggregate links 1822 to provide layer 3 peering andnetwork reachability for the cloud services delivery to customer network1808A.

Cloud service provider networks 1820 each includes servers configured toprovide one or more cloud services to users. These services may becategorized according to service types, which may include for examples,applications/software, platforms, infrastructure, virtualization, andservers and data storage. Example cloud services may includecontent/media delivery, cloud-based storage, cloud computing, onlinegaming, IT services, etc.

Cloud service provider networks 1820 include PE routers 1812A-1812D thateach executes an exterior gateway routing protocol, e.g., eBGP, toexchange routes with PE routers 1804A-1804B (collectively, “PE routers1804”) of cloud exchange point 1803. Each of cloud service providernetworks 1820 may represent a public, private, or hybrid cloud. Each ofcloud service provider networks 1820 may have an assigned autonomoussystem number or be part of the autonomous system footprint of cloudexchange point 1803.

In the illustrated example, an Internet Protocol/Multiprotocol labelswitching (IP/MPLS) fabric 1801 interconnects PEs 1802 and PEs 1804.IP/MPLS fabric 1801 include one or more switching and routing devices,including PEs 1802, 1804, that provide IP/MPLS switching and routing ofIP packets to form an IP backbone. In some example, IP/MPLS fabric 1801may implement one or more different tunneling protocols (i.e., otherthan MPLS) to route traffic among PE routers and/or associate thetraffic with different IP-VPNs. In accordance with techniques describedherein, IP/MPLS fabric 1801 implement IP virtual private networks(IP-VPNs) to connect any of customers 1808 with multiple cloud serviceprovider networks 1820 to provide a data center-based ‘transport’ andlayer 3 cross-connect. Whereas service provider-based IP backbonenetworks require wide-area network (WAN) connections with limitedbandwidth to transport service traffic from layer 3 services providersto customers, the cloud exchange point 1803 as described herein‘transports’ service traffic and cross-connects cloud service providers1820 to customers 1808 within the high-bandwidth local environment ofdata center 1800 provided by a data center-based IP/MPLS fabric 1801. Insome examples, IP/MPLS fabric 1801 implements IP-VPNs using techniquesdescribed in Rosen & Rekhter, “BGP/MPLS IP Virtual Private Networks(VPNs),” Request for Comments 4364, February 2006, Internet EngineeringTask Force (IETF) Network Working Group, the entire contents of which isincorporated by reference herein. In some example configurations, acustomer network 1808 and cloud service provider network 1820 mayconnect via respective links to the same PE router of IP/MPLS fabric1801.

Access links 1816 and aggregation links 1822 may include attachmentcircuits that associate traffic, exchanged with the connected customernetwork 1808 or cloud service provider network 1820, with virtualrouting and forwarding instances (VRFs) configured in PEs 1802, 1804 andcorresponding to IP-VPNs operating over IP/MPLS fabric 1801. Forexample, PE 1802A may exchange IP packets with PE 1810A on abidirectional label-switched path (LSP) operating over access link1816A, the LSP being an attachment circuit for a VRF configured in PE1802A. As another example, PE 1804A may exchange IP packets with PE1812A on a bidirectional label-switched path (LSP) operating over accesslink 1822A, the LSP being an attachment circuit for a VRF configured inPE 1804A. Each VRF may include or represent a different routing andforwarding table with distinct routes.

PE routers 1802, 1804 of IP/MPLS fabric 1801 may be configured inrespective hub-and-spoke arrangements for cloud services, with PEs 1804implementing cloud service hubs and PEs 1802 being configured as spokesof the hubs (for various hub-and-spoke instances/arrangements). Ahub-and-spoke arrangement ensures that service traffic is enabled toflow between a hub PE and any of the spoke PEs, but not directly betweendifferent spoke PEs. As described further below, in a hub-and-spokearrangement for data center-based IP/MPLS fabric 1801 and for southboundservice traffic (i.e., from a CSP to a customer) PEs 1802 advertiseroutes, received from PEs 1810, to PEs 1804, which advertise the routesto PEs 1812. For northbound service traffic (i.e., from a customer to aCSP), PEs 1804 advertise routes, received from PEs 1812, to PEs 1802,which advertise the routes to PEs 1810.

For some customers of cloud exchange point 1803, the cloud exchangepoint 1803 provider may configure a full mesh arrangement whereby a setof PEs 1802, 1804 each couple to a different customer site network forthe customer. In such cases, the IP/MPLS fabric 1801 implements a layer3 VPN (L3VPN) for cage-to-cage or redundancy traffic (also known aseast-west or horizontal traffic). The L3VPN may effectuate a closed usergroup whereby each customer site network can send traffic to one anotherbut cannot send or receive traffic outside of the L3VPN.

PE routers may couple to one another according to a peer model withoutuse of overlay networks. That is, PEs 1810 and PEs 1812 may not peerdirectly with one another to exchange routes, but rather indirectlyexchange routes via IP/MPLS fabric 1801. In the example of FIG. 18B,cloud exchange point 1803 is configured to implement multiple layer 3virtual circuits 1830A-1830C (collectively, “virtual circuits 1830”) tointerconnect customer network 1808 and cloud service provider networks1822 with end-to-end IP paths. Each of cloud service providers 1820 andcustomers 1808 may be an endpoint for multiple virtual circuits 1830,with multiple virtual circuits 1830 traversing one or more attachmentcircuits between a PE/PE or PE/CE pair for the IP/MPLS fabric 1801 andthe CSP/customer. A virtual circuit 1830 represents a layer 3 paththrough IP/MPLS fabric 1801 between an attachment circuit connecting acustomer network to the fabric 1801 and an attachment circuit connectinga cloud service provider network to the fabric 1801. Each virtualcircuit 1830 may include at least one tunnel (e.g., an LSP and/orGeneric Route Encapsulation (GRE) tunnel) having endpoints at PEs 1802,1804. PEs 1802, 1804 may establish a full mesh of tunnelsinterconnecting one another.

Each virtual circuit 1830 may include a different hub-and-spoke networkconfigured in IP/MPLS network 1801 having PE routers 1802, 1804exchanging routes using a full or partial mesh of border gatewayprotocol peering sessions, in this example a full mesh of MultiprotocolInterior Border Gateway Protocol (MP-iBGP) peering sessions. MP-iBGP orsimply MP-BGP is an example of a protocol by which routers exchangelabeled routes to implement MPLS-based VPNs. However, PEs 1802, 1804 mayexchange routes to implement IP-VPNs using other techniques and/orprotocols.

In the example of virtual circuit 1830A, PE router 1812A of cloudservice provider network 1820A may send a route for cloud serviceprovider network 1820A to PE 1804A via a routing protocol (e.g., eBGP)peering connection with PE 1804A. PE 1804A associates the route with ahub-and-spoke network, which may have an associated VRF, that includesspoke PE router 1802A. PE 1804A then exports the route to PE router1802A; PE router 1804A may export the route specifying PE router 1804Aas the next hop router, along with a label identifying the hub-and-spokenetwork. PE router 1802A sends the route to PE router 1810B via arouting protocol connection with PE 1810B. PE router 1802A may send theroute after adding an autonomous system number of the cloud exchangepoint 1803 (e.g., to a BGP autonomous system path (AS_PATH) attribute)and specifying PE router 1802A as the next hop router. Cloud exchangepoint 1803 is thus an autonomous system “hop” in the path of theautonomous systems from customers 1808 to cloud service providers 1820(and vice-versa), even though the cloud exchange point 1803 may be basedwithin a data center. PE router 1810B installs the route to a routingdatabase, such as a BGP routing information base (RIB) to provide layer3 reachability to cloud service provider network 1820A. In this way,cloud exchange point 1803 “leaks” routes from cloud service providernetworks 1820 to customer networks 1808, without cloud service providernetworks 1820 to customer networks 1808 requiring a direct layer peeringconnection.

PE routers 1810B, 1802A, 1804A, and 1812A may perform a similaroperation in the reverse direction to forward routes originated bycustomer network 1808B to PE 1812A and thus provide connectivity fromcloud service provider network 1820A to customer network 1808B. In theexample of virtual circuit 1830B, PE routers 1812B, 1804A, 1802A, and1810B exchange routes for customer network 1808B and cloud serviceprovider 1820B in a manner similar to that described above forestablishing virtual circuit 1830B. As a result, cloud exchange point1803 within data center 1800 internalizes the peering connections thatwould otherwise be established between PE 1810B and each of PEs 1812A,1812B so as to perform cloud aggregation for multiple layer 3 cloudservices provided by different cloud service provider networks 1820A,1820B and deliver the multiple, aggregated layer 3 cloud services to acustomer network 1808B having a single access link 1816B to the cloudexchange point 1803. Absent the techniques described herein, fullyinterconnecting customer networks 1808 and cloud service providernetworks 1820 would require 3×3 peering connections between each of PEs1810 and at least one of PEs 1812 for each of cloud service providernetworks 1820. For instance, PE 1810A would require a layer 3 peeringconnection with each of PEs 1812. With the techniques described herein,cloud exchange point 1803 may fully interconnect customer networks 1808and cloud service provider networks 1820 with one peering connection persite PE (i.e., for each of PEs 1810 and PEs 1812) by internalizing thelayer 3 peering and providing data center-based ‘transport’ betweencloud access and cloud aggregate interfaces.

In examples in which IP/MPLS fabric 1801 implements BGP/MPLS IP VPNs orother IP-VPNs that use route targets to control route distributionwithin the IP backbone. PEs 1804 may be configured to import routes fromPEs 1802 and to export routes received from PEs 1812, using differentasymmetric route targets. Likewise, PEs 1802 may be configured to importroutes from PEs 1804 and to export routes received from PEs 1810 usingthe asymmetric route targets. Thus, PEs 1802, 1804 may configured toimplement advanced L3VPNs that each includes a basic backbone L3VPN ofIP/MPLS fabric 1801 together with extranets of any of customer networks1808 and any of cloud service provider networks 1820 attached to thebasic backbone L3VPN. Each advanced L3VPN constitutes a cloud servicedelivery network from a cloud service provider network 1820 to one ormore customer networks 1808, and vice-versa. In this way, cloud exchangepoint 1803 enables any cloud service provider network 1820 to exchangecloud service traffic with any customer network 1808 while internalizingthe layer 3 routing protocol peering connections that would otherwise beestablished between pairs of customer networks 1808 and cloud serviceprovider networks 1820 for any cloud service connection between a givenpair. In other words, the cloud exchange point 1803 allows each ofcustomer networks 1808 and cloud service provider networks 1820 toestablish a single (or more for redundancy or other reasons) layer 3routing protocol peering connection to the data center-based layer 3cross-connect. By filtering routes from cloud service provider networks1820 to customer networks 1808, and vice-versa. PEs 1802, 1804 therebycontrol the establishment of virtual circuits 1830 and the flow ofassociated cloud service traffic between customer networks 1808 andcloud service provider networks 1820 within a data center 1800. Routesdistributed into MP-iBGP mesh 183 may be VPN-IPv4 routes and beassociated with route distinguishers to distinguish routes fromdifferent sites having overlapping address spaces.

Interconnection platform 103 may receive service requests for creating,reading, updating, and/or deleting end-to-end services of the cloudexchange point 1803. In response, interconnection platform 103 mayconfigure PEs 1802, 1804 and/or other network infrastructure of IP/MPLSfabric 1801 to provision or obtain performance or other operationsinformation regarding the service. Operations for provisioning a serviceand performed by interconnection platform 103 may include configuring orupdating VRFs, installing SDN forwarding information, configuring LSPsor other tunnels, configuring BGP, configuring access links 1816 andaggregation links 1822, or otherwise modifying the configuration of theIP/MPLS fabric 1801. Other operations may include making servicerequests to an orchestration system for cloud service provider networks1820, as described in further detail below.

FIG. 19 is a block diagram illustrating an example of a datacenter-based cloud exchange point in which routers of the cloud exchangepoint are configured by interconnection platform 103 with VPN routingand forwarding instances for routing and forwarding aggregated servicetraffic from multiple cloud service provider networks to a customernetwork, according to techniques described herein. In this example, toestablish virtual circuits 1830A-1830B, PE routers 1802A and 1804A ofIP/MPLS fabric 1801 are configured with VRFs. PE 1802A is configuredwith VRFs 1902A and 1904A, while PE 1804A is configured with VRFs 1902Band 1904B. VRF 1902A is configured to import routes exported by VRF1902B, and VRF 1902B is configured to import routes exported by VRF1902A. The configuration may include asymmetric route targets forimport/export between VRFs 1902A, 1902B. VRF 1904A is configured toimport routes exported by VRF 1902B, and VRF 1902B is configured toimport routes exported by VRF 1902A. The configuration may includeasymmetric route targets for import/export between VRFs 1902A. 1902B.

In this example, PE 1804A operates BGP or other route distributionprotocol peering connections 1906B. 1908B with respective PEs 1812A,1812B to exchange routes with respective cloud service provider networks1820A. 1820B. PE 1802A operates a BGP or other route distributionprotocol peering connection 1910 with PE 1810B to exchange routes withcustomer network 1808B. In some examples, PEs 1802A, 1804A may bestatically configured with routes for the site networks.

An administrator or an interconnection platform described herein forcloud exchange point 1803 may configure PEs 1802A, 1804A with the VRF1902A-1902B, 1904A-1904B in order to leak routes between PEs 1812 and PE1810B and facilitate layer 3 connectivity for end-to-end IP pathsillustrated here by virtual circuits 1830, while potentially optimizingthe end-to-end IP paths by fostering data center-based or at leastmetro-based connectivity. Cloud exchange point 1803 may thus providededicated cloud service provider access to customer network 1808B by wayof private and/or public routes for the cloud service provider networks1820. In the northbound direction, cloud exchange point 1803 may providededicated cloud service provider distribution to multiple customernetworks 1808 by way of private and/or public routes for the customernetworks 1808. Neither PE 1810B nor any of PEs 1802A, 1804A need accessto the full Internet BGP routing table in order to reach cloud serviceprovider networks 1820 or customer networks 1808. Moreover, PEs 1802A,1804A may be configured to aggregate customer/CSP routes and/or servicetraffic based on any one or more of physical, IP, service, and VRFs.

The techniques described herein may be implemented in hardware,software, firmware, or any combination thereof. Various featuresdescribed as modules, units or components may be implemented together inan integrated logic device or separately as discrete but interoperablelogic devices or other hardware devices. In some cases, various featuresof electronic circuitry may be implemented as one or more integratedcircuit devices, such as an integrated circuit chip or chipset.

If implemented in hardware, this disclosure may be directed to anapparatus such as a processor or an integrated circuit device, such asan integrated circuit chip or chipset. Alternatively or additionally, ifimplemented in software or firmware, the techniques may be realized atleast in part by a computer-readable data storage medium comprisinginstructions that, when executed, cause a processor to perform one ormore of the methods described above. For example, the computer-readabledata storage medium may store such instructions for execution by aprocessor.

A computer-readable medium may form part of a computer program product,which may include packaging materials. A computer-readable medium maycomprise a computer data storage medium such as random access memory(RAM), read-only memory (ROM), non-volatile random access memory(NVRAM), electrically erasable programmable read-only memory (EEPROM),Flash memory, magnetic or optical data storage media, and the like. Insome examples, an article of manufacture may comprise one or morecomputer-readable storage media.

In some examples, the computer-readable storage media may comprisenon-transitory media. The term “non-transitory” may indicate that thestorage medium is not embodied in a carrier wave or a propagated signal.In certain examples, a non-transitory storage medium may store data thatcan, over time, change (e.g., in RAM or cache).

The code or instructions may be software and/or firmware executed byprocessing circuitry including one or more processors, such as one ormore digital signal processors (DSPs), general purpose microprocessors,application-specific integrated circuits (ASICs), field-programmablegate arrays (FPGAs), or other equivalent integrated or discrete logiccircuitry. Accordingly, the term “processor.” as used herein may referto any of the foregoing structure or any other structure suitable forimplementation of the techniques described herein. In addition, in someaspects, functionality described in this disclosure may be providedwithin software modules or hardware modules.

Various examples have been described. These and other examples arewithin the scope of the following examples.

What is claimed is:
 1. A cloud-based services exchange comprising: anetwork data center that includes respective ports of a switching fabricto which a plurality of networks connect, each of the networks having adifferent network address space and associated with a different one of aplurality of customers and cloud service providers, and wherein eachnetwork associated with a cloud service provider comprises customercomputing resources, co-located within the network data center, thatprovide at least one cloud service to one or more of the networksassociated with the plurality of customers; a plurality ofinterconnection assets within the network data center and configured toconnect, through the switching fabric of the network data center, eachof the networks associated with the plurality of customers of thecloud-based services exchange to one or more of the networks associatedwith the cloud service providers, the plurality of interconnectionassets including a respective set of one or more virtual circuits, thateach represents a path through the switching fabric of the network datacenter, for each of the networks associated with the plurality ofcustomers and providing network connectivity within the network datacenter to enable access by the networks associated with the plurality ofcustomers to cloud services executing within the networks associatedwith the plurality of cloud service providers; and an interconnectionplatform configured for execution by one or more management devices andpresenting a software interface configured to, in response to receivinga request from an application, access the plurality of interconnectionassets to satisfy the request, wherein the software interface isaccessible to the customers and enables machine-to-machine communicationfrom the application to the interconnection platform presenting thesoftware interface.
 2. The cloud-based services exchange of claim 1,wherein the software interface is configured to, in response to therequest from the application, return a description of the plurality ofinterconnection assets.
 3. The cloud-based services exchange of claim 1,wherein the software interface is configured to, in response to therequest from the application, provision one of the virtual circuits,validate one of the virtual circuits, and confirm deletion of one of thevirtual circuits.
 4. The cloud-based services exchange of claim 1,wherein the software interface is configured to, in response to therequest from the application, return one of recommended setupinformation for cloud services, customized analytics regardingcompetitor presence, cloud service presence, cloud service availability,customer presence, customer availability, and usage statistics for cloudservices.
 5. The cloud-based services exchange of claim 1, wherein therequest specifies a customer of the customers, and wherein the softwareinterface comprises a support application programming interfacecomprising at least one method configured to, in response to the requestfrom the application, perform at least one of managing accounts, billthe customer, validate credit of the customer, configure a profile of anentity associated with the application, and configure a policy of anentity associated with the application.
 6. The cloud-based servicesexchange of claim 1, wherein the software interface comprises aRepresentational State Transfer (RESTful) interface, and wherein therequest comprises application data that specifies an interface methodand a resource identifier for an interconnection asset of the pluralityof interconnection assets.
 7. The cloud-based services exchange of claim1, wherein the plurality of the interconnection assets further includesat least one of a port, a location, an order, a cloud service, abandwidth of the virtual circuit, and the virtual circuit.
 8. Thecloud-based services exchange of claim 1, wherein the interconnectionplatform comprises: an orchestration engine configured to execute atleast one cloud exchange platform service for managing theinterconnection assets; an application programming interface gatewayconfigured to: execute the software interface to receive the request;invoke the at least one cloud exchange platform service to access theplurality of interconnection assets to satisfy the request; receive,from the cloud exchange platform service, a response; and send, to theapplication, a representation of the response.
 9. The cloud-basedservices exchange of claim 1, wherein the interconnection platformcomprises: a plurality of microservices configured to execute cloudexchange services; and an orchestration engine configured to orchestratethe plurality of microservices to execute the cloud exchange servicesaccording to a workflow to satisfy the request.
 10. The cloud-basedservices exchange of claim 9, wherein the orchestration engine isconfigured to identify the workflow by applying at least one of policiesand cloud service profiles to a customer identifier included in therequest, wherein the workflow comprises a series of requests for theplurality of cloud exchange services.
 11. The cloud-based servicesexchange of claim 1, wherein to access the plurality of interconnectionassets to satisfy the request, the interconnection platform isconfigured to provision one of the virtual circuits.
 12. The cloud-basedservices exchange of claim 1, wherein the interconnection platformcomprises: a cloud service query service; an orchestration engine; anapplication programming interface gateway configured to, in response toreceiving the request, invoke the orchestration engine to obtain adescription of a cloud service, wherein the orchestration enginegenerates and executes a workflow to invoke the cloud service queryservice, wherein the cloud service query service returns the descriptionof the cloud service to the orchestration engine, wherein theorchestration engine returns the description of the cloud service to theapplication programming interface gateway, and wherein, responsive tothe request, the application programming interface gateway returns thedescription of the cloud service to the application.
 13. The cloud-basedservices exchange of claim 1, wherein the interconnection platformfurther comprises: a virtual circuit query service; an orchestrationengine; an application programming interface gateway configured to, inresponse to receiving the request, invoke the orchestration engine toobtain a description of a virtual circuit, wherein the orchestrationengine generates and executes a workflow to invoke the virtual circuitquery service, wherein the virtual circuit query service returns thedescription of the virtual circuit to the orchestration engine, whereinthe orchestration engine returns the description of the virtual circuitto the application programming interface gateway, and wherein,responsive to the request, the application programming interface gatewayreturns the description of the virtual circuit to the application. 14.The cloud-based services exchange of claim 1, wherein the requestcomprises a request to provision a virtual circuit to provide a customerwith access to a cloud service provider network, wherein theinterconnection platform further comprises: a network serviceprovisioning service; an orchestration engine; an applicationprogramming interface gateway configured to, in response to receivingthe request, invoke the orchestration engine to provision the virtualcircuit, wherein the orchestration engine generates and executes aworkflow to invoke the network service provisioning service, wherein thenetwork service provisioning service establishes the virtual circuitaccording to parameters of the request.
 15. The cloud-based servicesexchange of claim 1, further comprising: a layer three (L3) autonomoussystem located within the network data center and comprising theswitching fabric, wherein the L3 autonomous system is configured toreceive, from each of a plurality of cloud service provider networks ofthe plurality of networks, cloud service traffic for at least one cloudservice and for distribution to one or more customer networks of theplurality of networks; a plurality of attachment circuits configured toconnect, within the network data center, the respective plurality ofcloud service provider networks to the L3 autonomous system; and one ormore attachment circuits configured to connect, within the network datacenter, the respective one or more customer networks to the L3autonomous system, wherein the L3 autonomous system is configured tointerconnect the plurality of cloud service provider networks and theone or more customer networks by establishing end-to-end L3 paths forthe virtual circuits between the plurality of cloud service providernetworks and the one or more customer networks, each end-to-end L3 pathincluding one of the plurality of attachment circuits connecting therespective plurality of cloud service provider networks to the L3autonomous system and also including one of the one or more attachmentcircuits connecting the respective one or more customer networks to theL3 autonomous system, wherein the L3 autonomous system is configured toforward cloud service traffic, received on the plurality of attachmentcircuits connecting the respective plurality of cloud service providernetworks along the end-to-end L3 paths, to the one or more attachmentcircuits connecting the respective one or more customer networks to theL3 autonomous system.
 16. The cloud-based services exchange of claim 1,wherein the cloud-based services exchange includes a plurality of cloudexchange points located in respective data centers in respective metroareas, and wherein the interconnection platform is configured to:responsive to a request by the software interface, identify ports of thecloud-based services exchange that are currently assigned to one of thecustomers or one of the cloud service providers as specified by therequest, and filter the ports based on a name of a particular metro areaor a name for a cloud exchange point specified within the request,output a response listing the filtered ports of the cloud-based servicesexchange that are currently assigned to the one of the customers or theone of the cloud service providers as specified by the request.
 17. Amethod comprising: executing, by a cloud-based services exchange usingone or more management devices, an interconnection platform to present asoftware interface reachable by networks associated with a plurality ofcustomers, wherein the software interface is accessible to the customersand enables machine-to-machine communication from the application to theinterconnection platform presenting the software interface; and by theinterconnection platform in response to receiving a request from anapplication, accessing a plurality of interconnection assets of anetwork data center to satisfy the request, wherein the network datacenter includes respective ports to which a plurality of networksconnect to the network data center, each of the networks having adifferent network address space and associated with a different one of aplurality of customers and cloud service providers, and wherein theplurality of interconnection assets within the network data centerconnect, through a switching fabric of the network data center, each ofthe networks associated with the plurality of customers of thecloud-based services exchange to one or more of the networks associatedwith the cloud service providers, the plurality of interconnectionassets including a respective set of one or more virtual circuits, thateach represents a path through the switching fabric of the network datacenter, for each of the networks associated with the plurality ofcustomers and providing network connectivity within the network datacenter between the networks associated with the customers and cloudservices executing within the networks associated with the cloud serviceproviders.
 18. A cloud-based services exchange comprising: a networkdata center that includes respective ports by which a plurality ofnetworks connect to the network data center, each of the networks havinga different network address space and associated with a different one ofa plurality of customers and cloud service providers; and aninterconnection platform configured for execution by one or moremanagement devices, wherein the interconnection platform is configuredto manage a plurality of interconnection assets within the network datacenter to interconnect, through a switching fabric of the network datacenter, each of the networks associated with the plurality of customersof the cloud-based services exchange to one or more of the networksassociated with the cloud service providers, wherein the plurality ofinterconnection assets comprises a respective set of one or more virtualcircuits, that represent a path through the switching fabric of thenetwork data center, for each of the networks associated with theplurality of customers and providing direct network connectivity withinthe network data center between the networks associated with theplurality of customers and cloud services executing within the networksassociated with the plurality of cloud service providers, wherein theinterconnection platform comprises a software interface configured toreceive a request for dynamic allocation of a virtual circuit todirectly interconnect, within the data center, a first one of the portsassigned to a one of the customers and a second one of the ports forassigned to one of the cloud service providers, wherein the softwareinterface is accessible to the customers and enables machine-to-machinecommunication from customer applications to the interconnection platformpresenting the software interface, and wherein, in response to therequest, the interconnection platform automatically configures theinterconnection assets to include the virtual circuit between the firstport of the data center and the second port of the data center.
 19. Thecloud-based services exchange of claim 18, wherein the request specifiesan identifier for the cloud-based services exchange and a bandwidthrequirement for the virtual circuit, and wherein the interconnectionplatform automatically configures the virtual circuit to interconnectthe first one of the ports and the second one of the ports according tothe required bandwidth.
 20. The cloud-based services exchange of claim18, wherein the cloud-based services exchange includes a plurality ofInternet exchanges located in respective data centers in respectivemetro areas, and wherein the interconnection platform is configured to:responsive to the request, identify ports of the cloud-based servicesexchange that are currently assigned to one of the customers or one ofthe cloud service providers as specified by the request, and filter theports based on a name of a particular metro area or a name for anInternet exchange specified within the request, output a responselisting the filtered ports of the cloud-based services exchange that arecurrently assigned to the one of the customers or the one of the cloudservice providers as specified by the request.